Fixed config mode cancelation

pull/113/head
parent 098a32e003
commit 719b425160
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -53,6 +53,7 @@ void on_configuration_mode_switch(GtkWidget *self,main_window *widgets){
gtk_widget_show(window->Window);
gtk_main();
if (main_config.config_save_path){
yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(widgets->StatusBox),"config_mode",CONFIGURATION_MODE_STATUS_LABEL,BACKGROUND_IMAGE_INFO_TYPE);
yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(widgets->StatusBox2),"config_mede",CONFIG_PATH_LABEL(main_config.config_save_path),BACKGROUND_IMAGE_INFO_TYPE);
GList *revealerlist = gtk_container_get_children(GTK_CONTAINER(widgets->StatusBox2));
@ -65,6 +66,7 @@ void on_configuration_mode_switch(GtkWidget *self,main_window *widgets){
gtk_style_context_remove_class(gtk_widget_get_style_context(box),"boxInfoMessOK");
gtk_style_context_add_class(gtk_widget_get_style_context(box),"boxInfoMessGray");
main_config.configure_mode = 1;
}
gtk_widget_destroy(window->Window);
return;

Loading…
Cancel
Save