|
|
|
|
@ -132,7 +132,7 @@ int yon_install_same_partition_save(main_window *widgets){
|
|
|
|
|
yon_config_register(part_parameter,part_parameter_command,part);
|
|
|
|
|
|
|
|
|
|
if (gtk_switch_get_active(GTK_SWITCH(widgets->SameInstallationFormatSwitch))){
|
|
|
|
|
yon_config_register(part_format_parameter,part_format_parameter_command,"yes");
|
|
|
|
|
yon_config_register(part_format_parameter,part_format_parameter_command,"no");
|
|
|
|
|
char *device_name = (char*)gtk_entry_get_text(GTK_ENTRY(widgets->SameInstallationSectionNameEntry));
|
|
|
|
|
if (!yon_char_is_empty(device_name)){
|
|
|
|
|
yon_config_register(part_label_parameter,part_label_parameter_command,device_name);
|
|
|
|
|
@ -148,7 +148,7 @@ int yon_install_same_partition_save(main_window *widgets){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
yon_config_register(part_format_parameter,part_format_parameter_command,"no");
|
|
|
|
|
yon_config_register(part_format_parameter,part_format_parameter_command,"yes");
|
|
|
|
|
yon_config_remove_by_key(part_label_parameter);
|
|
|
|
|
yon_config_remove_by_key(part_format_parameter);
|
|
|
|
|
yon_config_remove_by_key(part_fs_type_parameter);
|
|
|
|
|
|