|
|
|
|
@ -334,9 +334,10 @@ void *on_config_save(void *data){
|
|
|
|
|
if (system(command)){
|
|
|
|
|
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),INSTALLATION_ERROR,5,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
};
|
|
|
|
|
yon_debug_output("%s\n","SUCCESS");
|
|
|
|
|
main_config.install_thread=NULL;
|
|
|
|
|
yon_debug_output("Install set to: %d\n",main_config.install_complete);
|
|
|
|
|
main_config.install_complete=1;
|
|
|
|
|
yon_debug_output("Save state: %d\n",main_config.save_done);
|
|
|
|
|
if (main_config.save_done){
|
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION);
|
|
|
|
|
}
|
|
|
|
|
@ -515,6 +516,9 @@ void *on_setup_system_configuration(void * data){
|
|
|
|
|
if (parameter_string) free(parameter_string);
|
|
|
|
|
}
|
|
|
|
|
main_config.save_done=1;
|
|
|
|
|
yon_debug_output("Save changed to: %d\n",main_config.save_done);
|
|
|
|
|
|
|
|
|
|
yon_debug_output("Install state: %d\n",main_config.install_complete);
|
|
|
|
|
if (main_config.install_complete)
|
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION);
|
|
|
|
|
return NULL;
|
|
|
|
|
|