Added proper refreshment at window closing

pull/41/head
parent ac4a02c2d3
commit 930f6522fa

@ -334,6 +334,7 @@ void on_storage_accept(GtkWidget *self, dictionary *dict){
on_main_tree_selection_changed(NULL,widgets);
}
on_subwindow_close(self);
yon_config_load_update(widgets);
yon_ubl_status_box_render(STORAGES_SAVED_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
}
@ -714,6 +715,7 @@ void on_add_packages_accept(GtkWidget *self, dictionary *dict){
} else {
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
}
yon_config_load_update(widgets);
}
void on_repo_sign_load(GtkWidget *self, repo_add_window *window){
@ -1013,6 +1015,7 @@ void on_move_accept(GtkWidget *self, dictionary *dict){
} else {
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
}
yon_config_load_update(widgets);
}
void on_move_clicked(GtkWidget *self, main_window *widgets){
@ -1179,6 +1182,7 @@ void on_remove_accept(GtkWidget *self, dictionary *dict){
return;
}
gtk_widget_destroy(window->MainWindow);
yon_config_load_update(widgets);
}
void on_remove_clicked(GtkWidget *self, main_window *widgets){

@ -262,3 +262,5 @@ void on_remove_arch_selection_changed(GtkWidget *self, repo_add_window *window);
void on_repo_add(GtkWidget *self, storage_config_window *window);
void on_main_tree_selection_changed(GtkWidget *self, main_window *widgets);
void yon_config_load_update(main_window *widgets);
Loading…
Cancel
Save