|
|
|
@ -943,7 +943,16 @@ void *on_config_save(void *data){
|
|
|
|
main_window *widgets = (main_window*)data;
|
|
|
|
main_window *widgets = (main_window*)data;
|
|
|
|
|
|
|
|
|
|
|
|
int size=0;
|
|
|
|
int size=0;
|
|
|
|
config_str parameters = yon_config_get_all(&size);
|
|
|
|
config_str parameters = yon_config_get_selection_by_key(&size,
|
|
|
|
|
|
|
|
AUTOINSTALL_TYPE_INSTALL,
|
|
|
|
|
|
|
|
AUTOINSTALL_DEVICE,
|
|
|
|
|
|
|
|
device_format_parameter,
|
|
|
|
|
|
|
|
device_label_parameter,
|
|
|
|
|
|
|
|
main_config.install_mode!=1||main_config.install_mode!=2?NULL:part_parameter,
|
|
|
|
|
|
|
|
part_type_parameter,
|
|
|
|
|
|
|
|
device_format_parameter,
|
|
|
|
|
|
|
|
main_config.install_mode!=1?NULL:part_size_parameter,
|
|
|
|
|
|
|
|
NULL);
|
|
|
|
FILE *file = fopen(progress_path,"w");
|
|
|
|
FILE *file = fopen(progress_path,"w");
|
|
|
|
if (file)
|
|
|
|
if (file)
|
|
|
|
fclose(file);
|
|
|
|
fclose(file);
|
|
|
|
@ -1463,6 +1472,7 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
|
|
|
|
char *file_system_type = (char*)gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(widgets->CommonInstallationFilesystemTypeCombo));
|
|
|
|
char *file_system_type = (char*)gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(widgets->CommonInstallationFilesystemTypeCombo));
|
|
|
|
char *device_name = (char*)gtk_entry_get_text(GTK_ENTRY(widgets->CommonInstallationSectionNameEntry));
|
|
|
|
char *device_name = (char*)gtk_entry_get_text(GTK_ENTRY(widgets->CommonInstallationSectionNameEntry));
|
|
|
|
char *device;
|
|
|
|
char *device;
|
|
|
|
|
|
|
|
yon_config_remove_by_key(part_size_parameter);
|
|
|
|
yon_config_remove_by_key(part_parameter);
|
|
|
|
yon_config_remove_by_key(part_parameter);
|
|
|
|
gtk_tree_model_get(model,&iter,0,&device,-1);
|
|
|
|
gtk_tree_model_get(model,&iter,0,&device,-1);
|
|
|
|
yon_config_register(AUTOINSTALL_TYPE_INSTALL,AUTOINSTALL_TYPE_INSTALL_command,"fast");
|
|
|
|
yon_config_register(AUTOINSTALL_TYPE_INSTALL,AUTOINSTALL_TYPE_INSTALL_command,"fast");
|
|
|
|
@ -1762,7 +1772,7 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
|
|
|
|
gtk_window_set_transient_for(GTK_WINDOW(window->Window),GTK_WINDOW(widgets->MainWindow));
|
|
|
|
gtk_window_set_transient_for(GTK_WINDOW(window->Window),GTK_WINDOW(widgets->MainWindow));
|
|
|
|
gtk_window_set_title(GTK_WINDOW(window->Window),TITLE_LABEL);
|
|
|
|
gtk_window_set_title(GTK_WINDOW(window->Window),TITLE_LABEL);
|
|
|
|
gtk_window_set_icon_name(GTK_WINDOW(window->Window),icon_path);
|
|
|
|
gtk_window_set_icon_name(GTK_WINDOW(window->Window),icon_path);
|
|
|
|
gtk_label_set_text(GTK_LABEL(window->TextLabel),WARNING_TEXT_LABEL);
|
|
|
|
gtk_label_set_text(GTK_LABEL(window->TextLabel),WARNING_REBOOT_TEXT_LABEL);
|
|
|
|
gtk_label_set_text(GTK_LABEL(window->TitleLabel),WARNING_TITLE_LABEL);
|
|
|
|
gtk_label_set_text(GTK_LABEL(window->TitleLabel),WARNING_TITLE_LABEL);
|
|
|
|
gtk_widget_show(window->Window);
|
|
|
|
gtk_widget_show(window->Window);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|