|
|
|
|
@ -956,7 +956,7 @@ gboolean yon_installation_progress_update(void *data) {
|
|
|
|
|
yon_char_parsed_free(text, size);
|
|
|
|
|
|
|
|
|
|
if (!strstr(percentage, "#pb")) {
|
|
|
|
|
double fraction = atof(percentage);
|
|
|
|
|
double fraction = atof(percentage+1);
|
|
|
|
|
gtk_label_set_text(GTK_LABEL(widgets->InstallationLabel), current_copy);
|
|
|
|
|
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress), fraction / 100);
|
|
|
|
|
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(widgets->PackageInstallationProgress), 0);
|
|
|
|
|
@ -1637,9 +1637,11 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
|
|
|
|
|
if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){
|
|
|
|
|
pthread_t tid;
|
|
|
|
|
pthread_create(&tid,NULL,on_setup_system_configuration,widgets);
|
|
|
|
|
yon_debug_output("%s\n","installation ending configuration startup");
|
|
|
|
|
} else {
|
|
|
|
|
pthread_t tid;
|
|
|
|
|
pthread_create(&tid,NULL,on_save_system_configuration,widgets);
|
|
|
|
|
yon_debug_output("%s\n","installation process configuration startup");
|
|
|
|
|
}
|
|
|
|
|
main_config.save_done=1;
|
|
|
|
|
yon_debug_output("Save changed to: %s\n",yon_char_from_int(main_config.save_done));
|
|
|
|
|
|