diff --git a/gresource.xml b/gresource.xml
index a7ef298..fc38ddb 100644
--- a/gresource.xml
+++ b/gresource.xml
@@ -10,6 +10,7 @@
ubinstall-gtk-menu.glade
ubinstall-gtk-menu-item.glade
ubinstall-gtk-kernel-row.glade
+ ubinstall-gtk-kernel-addon-row.glade
ubinstall-gtk-os-row.glade
ubinstall-gtk-service-window.glade
ubinstall-gtk-bootloader-user.glade
diff --git a/locale/ubinstall-gtk.pot b/locale/ubinstall-gtk.pot
index 2271d1b..68c41b1 100644
--- a/locale/ubinstall-gtk.pot
+++ b/locale/ubinstall-gtk.pot
@@ -451,7 +451,7 @@ msgid "Installation configuration has ended"
msgstr ""
#: source/ubl-strings.h:124
-msgid "system installation is about to begin"
+msgid "System installation is about to begin"
msgstr ""
#: source/ubl-strings.h:126
@@ -1183,4 +1183,22 @@ msgstr ""
#: source/ubl-strings.h:331
msgid "About system installation"
-msgstr ""
\ No newline at end of file
+msgstr ""
+
+#: source/ubl-strings.h:331
+msgid "Repeating values"
+msgstr ""
+
+#: source/ubl-strings.h:331
+msgid "Package information"
+msgstr ""
+
+#: source/ubl-strings.h:331
+msgid "Package:"
+msgstr ""
+
+#: source/ubl-strings.h:331
+msgid "Module:"
+msgstr ""
+
+
diff --git a/locale/ubinstall-gtk_ru.po b/locale/ubinstall-gtk_ru.po
index 033d640..20d9b39 100644
--- a/locale/ubinstall-gtk_ru.po
+++ b/locale/ubinstall-gtk_ru.po
@@ -471,7 +471,7 @@ msgid "Installation configuration has ended"
msgstr "Настройка установщика завершена"
#: source/ubl-strings.h:124
-msgid "system installation is about to begin"
+msgid "System installation is about to begin"
msgstr "Начало установки системы"
#: source/ubl-strings.h:126
@@ -3023,4 +3023,20 @@ msgid "Zulu"
msgstr "Зулу"
msgid "Zurich"
-msgstr "Цюрих"
\ No newline at end of file
+msgstr "Цюрих"
+
+#: source/ubl-strings.h:331
+msgid "Repeating values"
+msgstr "Повторяющиеся значения"
+
+#: source/ubl-strings.h:331
+msgid "Package information"
+msgstr "Информация о пакете"
+
+#: source/ubl-strings.h:331
+msgid "Package:"
+msgstr "Пакет:"
+
+#: source/ubl-strings.h:331
+msgid "Module:"
+msgstr "Модуль:"
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 9e28868..acc10a7 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -63,6 +63,7 @@ set(DEPENDFILES
../ubinstall-gtk-menu.glade
../ubinstall-gtk-menu-item.glade
../ubinstall-gtk-kernel-row.glade
+ ../ubinstall-gtk-kernel-addon-row.glade
../ubinstall-gtk-os-row.glade
../ubinstall-gtk-service-window.glade
../ubinstall-gtk-bootloader-user.glade
diff --git a/source/ubinstall-gtk-components.c b/source/ubinstall-gtk-components.c
index ee5bc3f..ad413ef 100644
--- a/source/ubinstall-gtk-components.c
+++ b/source/ubinstall-gtk-components.c
@@ -204,7 +204,14 @@ void yon_os_components_init(main_window *widgets){
list = gtk_container_get_children(GTK_CONTAINER(widgets->OSSoftwareListBox));
for(iter = list;iter;iter=iter->next){
os_row *row = g_object_get_data(iter->data,"kernel_row");
- gtk_widget_set_size_request(row->NameLabel,size,-1);
+ int cur_size = 0;
+ gtk_widget_realize(row->RowBox);
+ gtk_widget_get_preferred_width(row->RowBox,&cur_size,NULL);
+ if (sizenext){
+ os_row *row = g_object_get_data(iter->data,"kernel_row");
+ gtk_widget_set_size_request(row->RowBox,size,-1);
}
}
@@ -225,72 +232,58 @@ void yon_os_components_init(main_window *widgets){
}
}
-int yon_software_save(main_window *widgets){
- GtkTreeIter iter;
- GtkTreeModel *model = GTK_TREE_MODEL(widgets->AdditionalSoftwareList);
- int size = 0;
- config_str modules = NULL;
- for_iter(model,&iter){
- char *target;
- int status;
- gtk_tree_model_get(model,&iter,0,&status,1,&target,-1);
- if (status){
- yon_char_parsed_add_or_create_if_exists(modules,&size,target);
- }
- }
- if (size){
- char *final = yon_char_parsed_to_string(modules,size,",");
- char *parameter = config(modules_extra_parameter);
- char *parameter_new = yon_char_unite(!yon_char_is_empty(parameter)?parameter:"",!yon_char_is_empty(parameter)?",":"",final,NULL);
- yon_config_register(modules_extra_parameter,modules_extra_parameter_command,parameter_new);
- free(parameter_new);
- }
- if (!main_config.configure_mode){
- int size;
- config_str parameters = yon_config_get_save_parameters_by_key(&size,modules_extra_parameter,NULL);
- if (parameters){
- char *command_parameters = yon_char_parsed_to_string(parameters,size," -- ");
- char *command = yon_char_unite(ubconfig_dull_command,"--target system ",command_parameters,NULL);
- if (!system(yon_debug_output("%s\n",command))){}
- free(command);
- yon_char_parsed_free(parameters,size);
- }
- }
+int yon_software_save(main_window *){
+ // GtkTreeIter iter;
+ // GtkTreeModel *model = GTK_TREE_MODEL(widgets->AdditionalSoftwareList);
+ // int size = 0;
+ // config_str modules = NULL;
+ // for_iter(model,&iter){
+ // char *target;
+ // int status;
+ // gtk_tree_model_get(model,&iter,0,&status,1,&target,-1);
+ // if (status){
+ // yon_char_parsed_add_or_create_if_exists(modules,&size,target);
+ // }
+ // }
+ // if (size){
+ // char *final = yon_char_parsed_to_string(modules,size,",");
+ // char *parameter = config(modules_extra_parameter);
+ // char *parameter_new = yon_char_unite(!yon_char_is_empty(parameter)?parameter:"",!yon_char_is_empty(parameter)?",":"",final,NULL);
+ // yon_config_register(modules_extra_parameter,modules_extra_parameter_command,parameter_new);
+ // free(parameter_new);
+ // }
+ // if (!main_config.configure_mode){
+ // int size;
+ // config_str parameters = yon_config_get_save_parameters_by_key(&size,modules_extra_parameter,NULL);
+ // if (parameters){
+ // char *command_parameters = yon_char_parsed_to_string(parameters,size," -- ");
+ // char *command = yon_char_unite(ubconfig_dull_command,"--target system ",command_parameters,NULL);
+ // if (!system(yon_debug_output("%s\n",command))){}
+ // free(command);
+ // yon_char_parsed_free(parameters,size);
+ // }
+ // }
return 1;
}
void yon_software_init(main_window *widgets){
- GtkTreeIter iter;
- if (!gtk_tree_model_get_iter_first(GTK_TREE_MODEL(widgets->AdditionalSoftwareList),&iter)){
- int size;
- config_str parsed = NULL;
- parsed = yon_resource_open_file(additional_software_path,&size);
- for (int i=1;iAdditionalSoftwareList,&iter);
- gtk_list_store_set(widgets->AdditionalSoftwareList,&iter,0,1,1,module_parsed[0],2,module_parsed[1],3,module_parsed[2],-1); //2,module_parsed[2]
- yon_char_parsed_free(module_parsed,module_size);
- }
- }
- if (size) yon_char_parsed_free(parsed,size);
- }
-
- char *modules = config(modules_extra_parameter);
-
- int size;
- config_str parsed = yon_char_parse(modules,&size,",");
- for_iter(GTK_TREE_MODEL(widgets->AdditionalSoftwareList),&iter){
- char *target;
- gtk_tree_model_get(GTK_TREE_MODEL(widgets->AdditionalSoftwareList),&iter,1,&target);
- if (yon_char_parsed_check_exist(parsed,size,target)>-1){
- gtk_list_store_set(widgets->AdditionalSoftwareList,&iter,0,1,-1);
- } else {
- gtk_list_store_set(widgets->AdditionalSoftwareList,&iter,0,0,-1);
- }
+ int base_size;
+ config_str base = yon_config_load(get_modules_command,&base_size);
+ for (int i=0;iversion = parsed[1];
+ row->name = parsed[0];
+ row->tags = yon_char_replace(parsed[2]," ",", ");
+ row->description = parsed[3];
+ row->widgets=widgets;
+ g_idle_add((GSourceFunc)yon_os_component_insert,row);
}
- yon_char_parsed_free(parsed,size);
+ g_idle_add((GSourceFunc)yon_spinner_switch_off,widgets->OSSpinner);
+ yon_char_parsed_free(base,base_size);
+ return ;
}
int yon_pacman_software_save(main_window *widgets){
diff --git a/source/ubinstall-gtk-configuration-mode.c b/source/ubinstall-gtk-configuration-mode.c
index 2e97ea6..a004460 100644
--- a/source/ubinstall-gtk-configuration-mode.c
+++ b/source/ubinstall-gtk-configuration-mode.c
@@ -7,18 +7,44 @@ void configuration_mode_accept(GtkWidget *,configuration_window *window){
yon_ubl_status_highlight_incorrect(window->PathEntry);
return;
}
- if (!yon_char_is_empty(main_config.config_save_path)) free(main_config.config_save_path);
- main_config.config_save_path = yon_char_new(path);
+
+ if (access(path,F_OK)){
+ int homedir_create = 0;
+ int file_create = 0;
+ int pos = yon_char_find_last((char*)path,'/');
+ if (pos>=-1){
+ char *path_copy = yon_char_new(path);
+ char *dir_path = yon_char_divide(path_copy,pos);
+ if (access(dir_path,F_OK)){
+ homedir_create = 1;
+ }
+ free(path_copy);
+ free(dir_path);
+ }
+ dialog_confirmation_data *data = yon_confirmation_dialog_data_new();
+ data->action_text = homedir_create?CREATE_CONFIG_DIALOG_LABEL_HOMEDIR:CREATE_CONFIG_DIALOG_LABEL;
+ data->title = WARNING_TITLE_LABEL;
+ if (yon_confirmation_dialog_call(window->Window,data)==GTK_RESPONSE_ACCEPT){
+ char *full_path = NULL;
+ if (homedir_create){
+ full_path = yon_char_unite(yon_ubl_user_get_home_directory(),"/",path,NULL);
+ } else if (file_create){
+
+ } else {
+ full_path = yon_char_new(path);
+ }
+
+ yon_launch(ubconfig_file_create(full_path));
+ } else return;
+ }
+ if (!yon_char_is_empty(main_config.config_save_path)) free(main_config.config_save_path);
+ main_config.config_save_path = yon_char_new(path);
gtk_widget_destroy(window->Window);
}
void on_path_choose(GtkWidget *,configuration_window *window){
- filechooser_window *dialog = yon_file_chooser_window_new(GTK_FILE_CHOOSER_ACTION_SAVE);
+ filechooser_window *dialog = yon_config_file_chooser_window_new(GTK_FILE_CHOOSER_ACTION_SAVE);
yon_gtk_window_setup(GTK_WINDOW(dialog->Window),GTK_WINDOW(window->Window),CONFIGURATION_MODE_TITLE_LABEL,icon_path,"filechooser_window");
- GtkFileFilter *filter = gtk_file_filter_new();
- gtk_file_filter_add_pattern(filter,"*.ini");
- gtk_file_filter_set_name(filter,"*.ini");
- gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog->MainFileChooser),filter);
if (yon_file_chooser_start(dialog)==GTK_RESPONSE_APPLY){
gtk_entry_set_text(GTK_ENTRY(window->PathEntry),dialog->last_success_selection);
free(dialog);
@@ -29,6 +55,9 @@ void on_configuration_exit(GtkWidget *,configuration_window *window){
main_window *widgets = g_object_get_data(G_OBJECT(window->Window),"widgets");
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(widgets->ConfigurationModeMenuItem),0);
gtk_widget_destroy(window->Window);
+ if (getuid()){
+ gtk_main_quit();
+ }
}
void on_configuration_mode_switch(GtkWidget *self,main_window *widgets){
@@ -48,6 +77,9 @@ void on_configuration_mode_switch(GtkWidget *self,main_window *widgets){
g_signal_connect(G_OBJECT(window->PathButton),"clicked",G_CALLBACK(on_path_choose),window);
g_object_set_data(G_OBJECT(window->Window),"widgets",widgets);
yon_gtk_window_setup(GTK_WINDOW(window->Window),GTK_WINDOW(widgets->MainWindow),CONFIGURATION_MODE_TITLE_LABEL,icon_path,"configuration_window");
+ if (getuid()){
+ yon_ubl_status_box_spawn_infinite(GTK_CONTAINER(window->StatusBox),"force_configure_mode",ROOT_FORCE_CONFIGURATION_MODE_LABEL,BACKGROUND_IMAGE_INFO_TYPE);
+ }
if (!yon_char_is_empty(main_config.config_save_path)) gtk_entry_set_text(GTK_ENTRY(window->PathEntry),main_config.config_save_path);
gtk_widget_show(window->Window);
diff --git a/source/ubinstall-gtk-installation.c b/source/ubinstall-gtk-installation.c
index a4b4390..802b662 100644
--- a/source/ubinstall-gtk-installation.c
+++ b/source/ubinstall-gtk-installation.c
@@ -502,18 +502,7 @@ void yon_install_init(main_window *widgets, enum YON_PAGES page){
}
}
if (format_switch){
- char *format = config(part_format_parameter);
- if ((!yon_char_is_empty(format)&&!strcmp(format,"yes"))||format_switch==widgets->CommonFormatSwitch){
- gtk_switch_set_active(GTK_SWITCH(format_switch),1);
- if (device_label){
- char *parameter = config(part_label_parameter);
- if (!yon_char_is_empty(parameter)){
- gtk_entry_set_text(GTK_ENTRY(device_label),parameter);
- } else {
- gtk_entry_set_text(GTK_ENTRY(device_label),"");
- }
- }
- if (fs_type_combo){
+ if (fs_type_combo){
gtk_combo_box_text_remove_all(GTK_COMBO_BOX_TEXT(fs_type_combo));
int size;
config_str fs_types = yon_resource_open_file(fs_types_path,&size);
@@ -533,6 +522,30 @@ void yon_install_init(main_window *widgets, enum YON_PAGES page){
gtk_combo_box_set_active(GTK_COMBO_BOX(fs_type_combo),0);
}
}
+
+ if (partition_encryption_combo && partition_encryption_entry){
+ int size;
+ gtk_combo_box_text_remove_all(GTK_COMBO_BOX_TEXT(partition_encryption_combo));
+ gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(partition_encryption_combo),NULL,yon_char_get_localised_from_lib(DEFAULT_LABEL));
+ config_str encryptions = yon_char_parsed_new(&size,encryptions_list,NULL);
+ for (int i=0;iCommonFormatSwitch){
+ gtk_switch_set_active(GTK_SWITCH(format_switch),1);
+ if (device_label){
+ char *parameter = config(part_label_parameter);
+ if (!yon_char_is_empty(parameter)){
+ gtk_entry_set_text(GTK_ENTRY(device_label),parameter);
+ } else {
+ gtk_entry_set_text(GTK_ENTRY(device_label),"");
+ }
+ }
+
if (partition_size_spin&&partition_size_combo){
char *parameter = config(part_size_parameter);
if (!yon_char_is_empty(parameter)){
diff --git a/source/ubinstall-gtk-kernel.c b/source/ubinstall-gtk-kernel.c
index f76edfe..2d1e50e 100644
--- a/source/ubinstall-gtk-kernel.c
+++ b/source/ubinstall-gtk-kernel.c
@@ -97,10 +97,10 @@ void yon_kernel_row_setup(kernel_row *row, char *name, char *modules,char *packa
row->modules = yon_char_new(modules);
row->package = yon_char_new(package);
- char *description_full = yon_char_new(description);
+ char *description_full = yon_char_new(_(description));
if (strlen(description)>100){
guint size;
- config_str description_wrapped = yon_char_wrap_to_lines(description,3,&size);
+ config_str description_wrapped = yon_char_wrap_to_lines(description_full,3,&size);
description_full = yon_char_parsed_to_string(description_wrapped,size,"\n");
yon_char_parsed_free(description_wrapped,size);
}
@@ -154,9 +154,6 @@ void yon_kernel_addon_resize(main_window *widgets){
int install_size=0;
int name_size=0;
int modules_size=0;
- gtk_widget_get_preferred_width(widgets->KernelAddonInstallLabel,&install_size,NULL);
- gtk_widget_get_preferred_width(widgets->KernelAddonNameLabel,&name_size,NULL);
- gtk_widget_get_preferred_width(widgets->KernelAddonModulesLabel,&modules_size,NULL);
for (;iter;iter=iter->next){
kernel_row *row = g_object_get_data(G_OBJECT(iter->data),"kernel_row");
@@ -168,8 +165,6 @@ void yon_kernel_addon_resize(main_window *widgets){
if (name_sizeKernelAddonNameLabel),name_size,-1);
- gtk_widget_set_size_request(GTK_WIDGET(widgets->KernelAddonModulesLabel),modules_size,-1);
for (iter = list;iter;iter = iter->next){
kernel_row *row = g_object_get_data(G_OBJECT(iter->data),"kernel_row");
gtk_widget_set_size_request(GTK_WIDGET(row->InstallCheck),install_size,-1);
@@ -241,11 +236,110 @@ void yon_kernel_setup(main_window *widgets){
yon_char_parsed_free(modules_parsed,modules_size);
}
+void on_kernel_addon_install_enabled(GtkWidget *, kernel_addon_row *row){
+ if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(row->InstallCheck))){
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(main_config.kernel_unchosen_radio),1);
+ }
+}
+
+
+void on_kernel_addon_info(GtkLabel *self){
+ yon_window *window = yon_window_new();
+ yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,TITLE_LABEL,icon_path,"info-label");
+ char *package=NULL;
+ package = yon_char_new(gtk_label_get_text(self));
+ int size;
+
+ if (strstr(package,",")){
+
+ char *temp = yon_char_replace(package,","," ");
+ free(package);
+ package = temp;
+ }
+
+ GtkWidget *label = NULL;
+ config_str info = yon_config_load(get_package_info_command(package),&size);
+ if (size!=-1){
+ char *final_text = yon_char_parsed_to_string(info,size,"");
+ label = gtk_label_new(final_text);
+ gtk_widget_show(label);
+ gtk_box_pack_start(GTK_BOX(window->MainBox),label,0,0,0);
+ free(final_text);
+ } else {
+ label = gtk_label_new(PACKAGE_NOT_FOUND_LABEL);
+ gtk_widget_show(label);
+ gtk_box_pack_start(GTK_BOX(window->MainBox),label,0,0,0);
+ }
+ gtk_label_set_xalign(GTK_LABEL(label),0);
+ gtk_widget_show(window->Window);
+}
+
+kernel_addon_row *yon_kernel_addon_row_new(){
+ kernel_addon_row *row = new(kernel_addon_row);
+ GtkBuilder *builder = gtk_builder_new_from_resource(glade_path_kernel_addon_row);
+
+ row->RowBox = yon_gtk_builder_get_widget(builder,"TableRow");
+ row->InstallCheck = yon_gtk_builder_get_widget(builder,"InstallCheck");
+ row->NameLabel = yon_gtk_builder_get_widget(builder,"NameLabel");
+ row->ModuleLabel = yon_gtk_builder_get_widget(builder,"ModuleLabel");
+ row->PackageLabel = yon_gtk_builder_get_widget(builder,"PackageLabel");
+ row->DescriptionLabel = yon_gtk_builder_get_widget(builder,"DescriptionLabel");
+ row->name=NULL;
+ row->modules=NULL;
+ row->package=NULL;
+
+ g_signal_connect(G_OBJECT(row->InstallCheck),"toggled",G_CALLBACK(on_kernel_addon_install_enabled),row);
+ g_signal_connect(G_OBJECT(row->ModuleLabel),"activate-link",G_CALLBACK(on_kernel_addon_info),NULL);
+ g_signal_connect(G_OBJECT(row->PackageLabel),"activate-link",G_CALLBACK(on_kernel_addon_info),NULL);
+
+ row->row = gtk_list_box_row_new();
+ gtk_container_add(GTK_CONTAINER(row->row),row->RowBox);
+ gtk_widget_show(row->row);
+
+ g_object_set_data(G_OBJECT(row->InstallCheck),"kernel_row",row);
+ g_object_set_data(G_OBJECT(row->row),"kernel_row",row);
+
+ return row;
+}
+
+void yon_kernel_addon_row_setup(kernel_addon_row *row, char *name, char *modules,char *package, char *description){
+ row->name = yon_char_new(name);
+ row->modules = yon_char_new(modules);
+ row->package = yon_char_new(package);
+
+ char *description_full = yon_char_new(_(description));
+ if (strlen(description)>100){
+ guint size;
+ config_str description_wrapped = yon_char_wrap_to_lines(description,3,&size);
+ description_full = yon_char_parsed_to_string(description_wrapped,size,"\n");
+ yon_char_parsed_free(description_wrapped,size);
+ }
+
+ char *package_label = NULL;
+ if (!yon_char_is_empty(row->modules)){
+ package_label = yon_char_unite("",row->modules,"",NULL);
+ gtk_label_set_markup(GTK_LABEL(row->PackageLabel),package_label);
+ } else {
+ gtk_widget_hide(gtk_widget_get_parent(row->PackageLabel));
+ }
+ char *module_label = NULL;
+ if (!yon_char_is_empty(row->package)){
+ module_label = yon_char_unite("",row->package,"",NULL);
+ gtk_label_set_markup(GTK_LABEL(row->ModuleLabel),module_label);
+ } else {
+ gtk_widget_hide(gtk_widget_get_parent(row->ModuleLabel));
+ }
+ gtk_label_set_label(GTK_LABEL(row->NameLabel),_(name));
+ gtk_label_set_label(GTK_LABEL(row->DescriptionLabel),description_full);
+
+ free(description_full);
+}
+
void yon_kernel_addon_setup(main_window *widgets){
GList *list = gtk_container_get_children(GTK_CONTAINER(widgets->KernelAddonListBox));
GList *iter;
for (iter = list; iter; iter = iter->next){
- kernel_row *row = g_object_get_data(G_OBJECT(iter->data),"kernel_row");
+ kernel_addon_row *row = g_object_get_data(G_OBJECT(iter->data),"kernel_row");
if (row){
if (row->name) free(row->name);
if (!yon_char_is_empty(row->modules)) free(row->modules);
@@ -271,26 +365,20 @@ void yon_kernel_addon_setup(main_window *widgets){
config_str parsed = yon_char_parse(kernels[i],&parsed_size,";");
char *name = parsed[0];
char *modules = yon_char_new(parsed[1]);
- char *tags = NULL;
char *package = parsed[2];
char *description = parsed[3];
- kernel_row *row = yon_kernel_row_new();
+ kernel_addon_row *row = yon_kernel_addon_row_new();
gtk_list_box_insert(GTK_LIST_BOX(widgets->KernelAddonListBox),row->row,-1);
- gtk_size_group_add_widget(widgets->KernelSizeGroup,row->TagsBox);
- gtk_widget_destroy(row->TagsBox);
- gtk_widget_destroy(row->TagsSeparator);
- gtk_widget_destroy(row->EnableRadio);
- gtk_widget_destroy(row->EnableSeparator);
- yon_kernel_row_setup(row,name,modules,package,tags,description);
+ yon_kernel_addon_row_setup(row,name,modules,package,description);
if (yon_char_parsed_check_exist(modules_parsed,modules_size,parsed[1])>-1){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(row->InstallCheck),1);
} else {
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(row->InstallCheck),0);
}
- yon_char_parsed_free(parsed,parsed_size);
+ // yon_char_parsed_free(parsed,parsed_size);
}
yon_kernel_addon_resize(widgets);
diff --git a/source/ubinstall-gtk-keyboard.c b/source/ubinstall-gtk-keyboard.c
index fb9508a..0c2f096 100644
--- a/source/ubinstall-gtk-keyboard.c
+++ b/source/ubinstall-gtk-keyboard.c
@@ -157,6 +157,11 @@ void on_language_window_accept(GtkWidget *,dictionary *dict){
free(window);
}
+void yon_focus_set(GtkWidget *,GtkWidget *target){
+ gtk_widget_grab_focus(target);
+
+}
+
ubinstall_language_window *yon_ubinstall_language_new(){
ubinstall_language_window *window = malloc(sizeof(ubinstall_language_window));
GtkBuilder *builder = gtk_builder_new_from_resource(glade_path_ubinstall_language);
@@ -171,6 +176,7 @@ ubinstall_language_window *yon_ubinstall_language_new(){
window->ToggleRenderer=GTK_CELL_RENDERER(gtk_builder_get_object(builder,"ToggleRenderer"));
g_signal_connect(G_OBJECT(window->DefaultCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button_inversed),window->LanguagesTree);
+ g_signal_connect(G_OBJECT(window->DefaultCheck),"toggled",G_CALLBACK(yon_focus_set),window->LanguagesTree);
g_signal_connect(G_OBJECT(window->ToggleRenderer),"toggled",G_CALLBACK(yon_language_selection_changed),window);
g_signal_connect(G_OBJECT(window->CancelButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
return window;
@@ -183,7 +189,7 @@ void on_language_clicked(GtkWidget *, main_window *widgets){
yon_gtk_list_store_copy_full(window->liststore1,widgets->LanguagesList);
gtk_tree_view_set_model(GTK_TREE_VIEW(window->LanguagesTree),GTK_TREE_MODEL(window->liststore1));
yon_gtk_window_setup(GTK_WINDOW(window->MainWindow),GTK_WINDOW(widgets->MainWindow),TITLE_LABEL,icon_path,"language-chooser-window");
-
+ gtk_tree_view_set_search_column(GTK_TREE_VIEW(window->LanguagesTree),2);
if (yon_char_is_empty(gtk_entry_get_text(GTK_ENTRY(widgets->AvailableLanguagesEntry)))){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->DefaultCheck),1);
}
diff --git a/source/ubinstall-gtk-page-switch.c b/source/ubinstall-gtk-page-switch.c
index ef05a46..22b2787 100644
--- a/source/ubinstall-gtk-page-switch.c
+++ b/source/ubinstall-gtk-page-switch.c
@@ -8,12 +8,12 @@ enum YON_PAGES yon_page_get_next(main_window *widgets, enum YON_PAGES page){
case YON_PAGE_WELCOME: return YON_PAGE_LICENCE; break;
case YON_PAGE_LICENCE: return YON_PAGE_SECTIONS; break;
case YON_PAGE_SECTIONS: return yon_sections_get_next_page(widgets); break;
- case YON_PAGE_OS_COMPONENTS: return main_config.configure_mode? YON_PAGE_KERNEL : YON_PAGE_INSTALLATION_BEGIN; break;
+ case YON_PAGE_OS_COMPONENTS: return YON_PAGE_SOFTWARE; break;
+ case YON_PAGE_SOFTWARE: return main_config.configure_mode? YON_PAGE_KERNEL : YON_PAGE_INSTALLATION_BEGIN; break;
case YON_PAGE_INSTALLATION_BEGIN: return YON_PAGE_KERNEL; break;
case YON_PAGE_KERNEL: return YON_PAGE_KERNEL_ADDON; break;
case YON_PAGE_KERNEL_ADDON: return YON_PAGE_PACMAN_SOFTWARE; break;
case YON_PAGE_PACMAN_SOFTWARE: return YON_PAGE_REGION;
- case YON_PAGE_SOFTWARE: return YON_PAGE_PACMAN_SOFTWARE; break;
case YON_PAGE_REGION: return YON_PAGE_KEYBOARD; break;
case YON_PAGE_KEYBOARD: return YON_PAGE_USERS; break;
case YON_PAGE_USERS: return YON_PAGE_STARTUP; break;
@@ -50,12 +50,12 @@ enum YON_PAGES yon_page_get_prev(enum YON_PAGES page){
case YON_PAGE_LICENCE: return YON_PAGE_WELCOME; break;
case YON_PAGE_SECTIONS: return YON_PAGE_LICENCE; break;
case YON_PAGE_OS_COMPONENTS: return YON_PAGE_SECTIONS; break;
- case YON_PAGE_INSTALLATION_BEGIN: return YON_PAGE_SECTIONS; break;
+ case YON_PAGE_SOFTWARE: return YON_PAGE_OS_COMPONENTS; break;
+ case YON_PAGE_INSTALLATION_BEGIN: return YON_PAGE_SOFTWARE; break;
case YON_PAGE_KERNEL: return YON_PAGE_SECTIONS; break;
case YON_PAGE_KERNEL_ADDON: return YON_PAGE_KERNEL; break;
case YON_PAGE_PACMAN_SOFTWARE: return YON_PAGE_KERNEL_ADDON; break;
- case YON_PAGE_SOFTWARE: return YON_PAGE_PACMAN_SOFTWARE; break;
- case YON_PAGE_REGION: return YON_PAGE_SOFTWARE; break;
+ case YON_PAGE_REGION: return YON_PAGE_PACMAN_SOFTWARE; break;
case YON_PAGE_KEYBOARD: return YON_PAGE_REGION; break;
case YON_PAGE_USERS: return YON_PAGE_KEYBOARD; break;
case YON_PAGE_STARTUP: return YON_PAGE_USERS; break;
@@ -372,7 +372,7 @@ void yon_page_init(main_window *widgets, enum YON_PAGES page){
break;
case YON_PAGE_INSTALL_ADVANCED:
yon_install_advanced_init(widgets);
- [[fallthrough]];
+ __attribute__((fallthrough));
case YON_PAGE_INSTALL_COMMON:
case YON_PAGE_INSTALL_SEPARATE:
case YON_PAGE_INSTALL_SAME_PARTITION:
@@ -449,7 +449,11 @@ void on_system_setup_pass(GtkWidget *, main_window *widgets){
if (main_config.configure_mode){
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_CONFIGURE_END);
} else {
- gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
+ if (main_config.install_complete) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION);
+ } else {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
+ }
}
yon_page_update(widgets);
}
\ No newline at end of file
diff --git a/source/ubinstall-gtk-region.c b/source/ubinstall-gtk-region.c
index e8ff73c..5a51c75 100644
--- a/source/ubinstall-gtk-region.c
+++ b/source/ubinstall-gtk-region.c
@@ -150,5 +150,4 @@ void yon_region_init(main_window *widgets){
if (!yon_char_is_empty(lang_param)){
gtk_combo_box_set_active_id(GTK_COMBO_BOX(widgets->LanguagesCombo),lang_param);
}
-
}
\ No newline at end of file
diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c
index a14a8ef..5c88d01 100644
--- a/source/ubinstall-gtk.c
+++ b/source/ubinstall-gtk.c
@@ -574,12 +574,12 @@ void config_init(){
// void *on_setup_system_configuration(void *data);
-void on_additional_software_toggled(GtkWidget *, char *path, main_window *widgets){
- GtkTreeIter iter;
- int status;
- gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(widgets->AdditionalSoftwareList),&iter,path);
- gtk_tree_model_get(GTK_TREE_MODEL(widgets->AdditionalSoftwareList),&iter,0,&status,-1);
- gtk_list_store_set(widgets->AdditionalSoftwareList,&iter,0,!status,-1);
+void on_additional_software_toggled(GtkWidget *, char *, main_window *){
+ // GtkTreeIter iter;
+ // int status;
+ // gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(widgets->AdditionalSoftwareList),&iter,path);
+ // gtk_tree_model_get(GTK_TREE_MODEL(widgets->AdditionalSoftwareList),&iter,0,&status,-1);
+ // gtk_list_store_set(widgets->AdditionalSoftwareList,&iter,0,!status,-1);
}
void on_gparted_open(){
@@ -615,6 +615,7 @@ gboolean on_yon_exit(GtkWidget *,GdkEvent*, main_window *widgets){
data->action_text=INTERRUPT_TEXT_LABEL;
data->title=WARNING_TITLE_LABEL;
if (yon_confirmation_dialog_call(widgets->MainWindow,data)==GTK_RESPONSE_ACCEPT ){
+ yon_window_config_save_instant();
on_exit_accepted(widgets);
gtk_main_quit();
return 1;
@@ -912,6 +913,7 @@ void yon_main_window_create(main_window *widgets){
widgets->OSSysSectionTree = yon_gtk_builder_get_widget(builder,"OSSysSectionTree");
widgets->GpartedOSButton = yon_gtk_builder_get_widget(builder,"GpartedOSButton");
widgets->OSFormatSwitch = yon_gtk_builder_get_widget(builder,"OSFormatSwitch");
+ widgets->OSRevealer = yon_gtk_builder_get_widget(builder,"OSRevealer");
widgets->OSFormatSizeSpin = yon_gtk_builder_get_widget(builder,"OSFormatSizeSpin");
widgets->OSFormatSizeCombo = yon_gtk_builder_get_widget(builder,"OSFormatSizeCombo");
widgets->OSFormatPartitionEntry = yon_gtk_builder_get_widget(builder,"OSFormatPartitionEntry");
@@ -924,6 +926,7 @@ void yon_main_window_create(main_window *widgets){
widgets->UserdataSysSectionTree = yon_gtk_builder_get_widget(builder,"UserdataSysSectionTree");
widgets->GpartedUserdataButton = yon_gtk_builder_get_widget(builder,"UserdataGpartedButton");
widgets->UserdataFormatSwitch = yon_gtk_builder_get_widget(builder,"UserdataFormatSwitch");
+ widgets->UserdataRevealer = yon_gtk_builder_get_widget(builder,"UserdataRevealer");
widgets->UserdataFormatSizeSpin = yon_gtk_builder_get_widget(builder,"UserdataFormatSizeSpin");
widgets->UserdataFormatSizeCombo = yon_gtk_builder_get_widget(builder,"UserdataFormatSizeCombo");
widgets->UserdataFormatPartitionEntry = yon_gtk_builder_get_widget(builder,"UserdataFormatPartitionEntry");
@@ -972,9 +975,7 @@ void yon_main_window_create(main_window *widgets){
widgets->KeyboardBox = yon_gtk_builder_get_widget(builder,"KeyboardBox");
widgets->KeyboardLayoutChosenCell = GTK_CELL_RENDERER(gtk_builder_get_object(builder,"KeyboardLayoutChosenCell"));
- widgets->AdditionalSoftwareList = GTK_LIST_STORE(gtk_builder_get_object(builder,"AdditionalSoftwareList"));
- widgets->AdditionalSoftwareTree = yon_gtk_builder_get_widget(builder,"AdditionalSoftwareTree");
- widgets->AdditionalSoftwareCell = GTK_CELL_RENDERER(gtk_builder_get_object(builder,"AdditionalSoftwareCell"));
+ widgets->AdditionalComponentsList = yon_gtk_builder_get_widget(builder,"AdditionalComponentsList");
widgets->InstallationProgress = yon_gtk_builder_get_widget(builder,"InstallationProgress");
@@ -1110,7 +1111,6 @@ void yon_main_window_create(main_window *widgets){
g_signal_connect(G_OBJECT(widgets->LanguagesTree),"cursor-changed",G_CALLBACK(on_locale_changed),widgets);
g_signal_connect(G_OBJECT(widgets->CountryLanguagesTree),"row-activated",G_CALLBACK(on_installer_language_changed),widgets);
// g_signal_connect(G_OBJECT(widgets->LanguageCombo),"changed",G_CALLBACK(on_locale_changed),widgets);
- g_signal_connect(G_OBJECT(widgets->AdditionalSoftwareCell),"toggled",G_CALLBACK(on_additional_software_toggled),widgets);
g_signal_connect(G_OBJECT(widgets->StartupChosenCell),"toggled",G_CALLBACK(on_srartup_services_toggled),widgets);
g_signal_connect(G_OBJECT(widgets->StartupServicesTree),"cursor-changed",G_CALLBACK(on_startup_services_selection_changed),widgets);
@@ -1123,6 +1123,8 @@ void yon_main_window_create(main_window *widgets){
yon_gtk_revealer_set_from_switch(GTK_REVEALER(widgets->NextInstallationFormatRevealer),GTK_SWITCH(widgets->NextInstallationFormatSwitch));
yon_gtk_revealer_set_from_switch(GTK_REVEALER(widgets->SameInstallationFormatRevealer),GTK_SWITCH(widgets->SameInstallationFormatSwitch));
+ yon_gtk_revealer_set_from_switch(GTK_REVEALER(widgets->OSRevealer),GTK_SWITCH(widgets->OSFormatSwitch));
+ yon_gtk_revealer_set_from_switch(GTK_REVEALER(widgets->UserdataRevealer),GTK_SWITCH(widgets->UserdataFormatSwitch));
g_signal_connect(G_OBJECT(widgets->PacmanSoftwareAllCell),"toggled",G_CALLBACK(on_pacman_software_all_toggled),widgets);
g_signal_connect(G_OBJECT(widgets->PacmanSoftwareChosenCell),"toggled",G_CALLBACK(on_pacman_software_chosen_toggled),widgets);
@@ -1195,10 +1197,12 @@ void yon_main_window_create(main_window *widgets){
config_str parsed = NULL;
parsed = yon_file_open(licence_path,&size);
if (size){
+ textdomain("ublinux-init-eula");
char *licence = yon_char_parsed_to_string(parsed,size,"");
- gtk_label_set_text(GTK_LABEL(widgets->LicenceLabel),licence);
+ gtk_label_set_text(GTK_LABEL(widgets->LicenceLabel),_(licence));
free(licence);
yon_char_parsed_free(parsed,size);
+ textdomain(LocaleName);
}
}
{
@@ -1219,18 +1223,11 @@ void yon_main_window_create(main_window *widgets){
yon_char_parsed_free(slides,size);
}
gtk_builder_connect_signals(builder,NULL);
- // yon_load_proceed(YON_CONFIG_LOCAL);
- // yon_interface_update(widgets);
if (!yon_char_is_empty(config(AUTOINSTALL_TYPE_INSTALL))){
gtk_widget_show(widgets->StartScenarioButton);
} else {
gtk_widget_hide(widgets->StartScenarioButton);
}
- // char *locale = config(installer_lang_parameter);
- // if (!yon_char_is_empty(locale)){
- // locale = setlocale(LC_ALL,NULL);
- // }
- // yon_ubl_window_init(TITLE_LABEL,DESCRIPTION_LABEL,locale,CssPath,LocaleName,version_application,WIKI_LINK);
if (main_config.force_ini){
main_config.configure_mode=1;
g_signal_handlers_block_by_func(G_OBJECT(widgets->ConfigurationModeMenuItem),G_CALLBACK(on_configuration_mode_switch),widgets);
@@ -1242,22 +1239,19 @@ void yon_main_window_create(main_window *widgets){
}
yon_locale_init();
set_locales_list(widgets);
- // {
- // char *parameter = config(installer_lang_parameter);
- // if (yon_char_is_empty(parameter)){
- // parameter=setlocale(LC_ALL,NULL);
- // }
- // GList *list = gtk_container_get_children(GTK_CONTAINER(widgets->LanguagesBox));
- // GList *iter;
- // for (iter = list;iter;iter=iter->next){
- // char *lang = g_object_get_data(G_OBJECT(iter->data),"language");
- // if (!strcmp(lang,parameter)){
- // gtk_flow_box_select_child(GTK_FLOW_BOX(widgets->LanguagesBox),GTK_FLOW_BOX_CHILD(iter->data));
- // }
- // }
- // }
}
+gboolean yon_maximize_start(main_window *widgets){
+ gtk_window_maximize(GTK_WINDOW(widgets->MainWindow));
+ return G_SOURCE_REMOVE;
+}
+
+void *yon_maximize(main_window *widgets){
+ g_usleep(G_USEC_PER_SEC/10);
+ g_idle_add((GSourceFunc)yon_maximize_start,widgets);
+ return NULL;
+}
+
/**yon_main_window_complete(main_window *widgets)
* [EN]
*
@@ -1268,6 +1262,8 @@ main_window *yon_main_window_complete(){
main_window *widgets=NULL;
widgets = yon_remalloc(widgets,sizeof(main_window));
yon_main_window_create(widgets);
+ yon_window_config_setup(GTK_WINDOW(widgets->MainWindow));
+ // yon_window_config_custom_window_setup(GTK_WINDOW(widgets->MainWindow),"MainWindow");
return widgets;
}
@@ -1301,12 +1297,18 @@ int main(int argc, char *argv[]){
}
gtk_init(&argc,&argv);
main_window *widgets = NULL;
+ if (widgets){};
+ int fullscreen = 0;
widgets = yon_main_window_complete();
on_config_global_load(NULL,widgets);
- if (widgets){};
char *path = yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",LocaleName,"/",LocaleName,".conf",NULL);
- yon_window_config_setup(GTK_WINDOW(widgets->MainWindow));
+ if (access(path,F_OK)){
+ fullscreen = 1;
+ g_thread_new("fullscreen",(GThreadFunc)yon_maximize,widgets);
+
+ }
yon_window_config_load(path);
+ yon_window_config_add_instant_parameter("fullscreen","window",&fullscreen,YON_TYPE_BOOLEAN);
main_config.launch_arguments=yon_char_parsed_copy(argv,argc);
main_config.launch_size=argc;
GtkCssProvider *css=gtk_css_provider_new();
diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h
index 2541f38..fb7f732 100755
--- a/source/ubinstall-gtk.h
+++ b/source/ubinstall-gtk.h
@@ -30,6 +30,7 @@
#define glade_path_menu_window "/com/ublinux/ui/ubinstall-gtk-menu.glade"
#define glade_path_menu_item "/com/ublinux/ui/ubinstall-gtk-menu-item.glade"
#define glade_path_kernel_row "/com/ublinux/ui/ubinstall-gtk-kernel-row.glade"
+#define glade_path_kernel_addon_row "/com/ublinux/ui/ubinstall-gtk-kernel-addon-row.glade"
#define glade_path_os_row "/com/ublinux/ui/ubinstall-gtk-os-row.glade"
#define glade_path_service "/com/ublinux/ui/ubinstall-gtk-service-window.glade"
#define glade_path_bootloader_user "/com/ublinux/ui/ubinstall-gtk-bootloader-user.glade"
@@ -274,6 +275,8 @@ layout && /description:/ {\
#define languages_command "while IFS= read -ru3 SELECT_LOCALE; do SELECT_LOCALE=\"${SELECT_LOCALE% *}\"; [[ $(< /usr/share/i18n/locales/${SELECT_LOCALE%.*}) =~ (\"language\"[[:blank:]]*\\\"([^\\\"]*)\\\".*\"territory\"[[:blank:]]*\\\"([^\\\"]*)\\\".*\"country_name\"[[:blank:]]*\\\"([^\\\"]*)\\\".*\"lang_name\"[[:blank:]]*\\\"([^\\\"]*)\\\")|(\"language\"[[:blank:]]*\\\"([^\\\"]*)\\\".*\"territory\"[[:blank:]]*\\\"([^\\\"]*)\\\".*\"lang_name\"[[:blank:]]*\\\"([^\\\"]*)\\\")|(\"language\"[[:blank:]]*\\\"([^\\\"]*)\\\".*\"territory\"[[:blank:]]*\\\"([^\\\"]*)\\\") ]] && echo \"${SELECT_LOCALE}|${BASH_REMATCH[2]}${BASH_REMATCH[7]}${BASH_REMATCH[11]}${BASH_REMATCH[5]:+ (${BASH_REMATCH[5]})}${BASH_REMATCH[9]:+ (${BASH_REMATCH[9]})}|${BASH_REMATCH[3]}${BASH_REMATCH[8]}${BASH_REMATCH[12]}${BASH_REMATCH[4]:+ (${BASH_REMATCH[4]})}\" || echo \"${SELECT_LOCALE}\"; done 3< \"/usr/share/i18n/SUPPORTED\""
+#define get_package_info_command(target) yon_char_append("pacman -Si ",target)
+
#define install_common_parameters \
AUTOINSTALL_TYPE_INSTALL,\
AUTOINSTALL_DEVICE,\
@@ -420,7 +423,6 @@ typedef struct {
GtkListStore *DevicesList;
GtkListStore *LanguagesList;
GtkTreeStore *LayoutList;
- GtkListStore *AdditionalSoftwareList;
GtkListStore *PartitionsList;
GtkWidget *LoadGlobalConfigurationMenuItem;
@@ -540,9 +542,7 @@ typedef struct {
GtkWidget *AboutMenuItem;
GtkWidget *DocumentationMenuItem;
- GtkCellRenderer *AdditionalSoftwareCell;
-
- GtkWidget *AdditionalSoftwareTree;
+ GtkWidget *AdditionalComponentsList;
GtkWidget *GrubInstallRadio;
GtkWidget *GrubUpdateRadio;
@@ -562,6 +562,7 @@ typedef struct {
GtkWidget *OSDevicesTree;
GtkWidget *OSSysSectionTree;
GtkWidget *OSFormatSwitch;
+ GtkWidget *OSRevealer;
GtkWidget *OSFormatSizeSpin;
GtkWidget *OSFormatSizeCombo;
GtkWidget *OSFormatPartitionEntry;
@@ -576,6 +577,7 @@ typedef struct {
GtkWidget *UserdataDevicesTree;
GtkWidget *UserdataSysSectionTree;
GtkWidget *UserdataFormatSwitch;
+ GtkWidget *UserdataRevealer;
GtkWidget *UserdataFormatSizeSpin;
GtkWidget *UserdataFormatSizeCombo;
GtkWidget *UserdataFormatPartitionEntry;
@@ -849,28 +851,42 @@ typedef struct {
typedef struct {
GtkWidget *row;
GtkWidget *RowBox;
- GtkWidget *TagsBox;
GtkWidget *InstallCheck;
+ GtkWidget *NameLabel;
+ GtkWidget *DescriptionLabel;
+ GtkWidget *ModulesLabel;
+ GtkWidget *TagsBox;
GtkWidget *EnableRadio;
GtkWidget *EnableSeparator;
GtkWidget *TagsSeparator;
+
+ char *name;
+ char *modules;
+ char *package;
+} kernel_row;
+
+typedef struct {
+ GtkWidget *row;
+ GtkWidget *RowBox;
+ GtkWidget *InstallCheck;
GtkWidget *NameLabel;
GtkWidget *DescriptionLabel;
- GtkWidget *ModulesLabel;
+ GtkWidget *ModuleLabel;
+ GtkWidget *PackageLabel;
char *name;
char *modules;
char *package;
-} kernel_row;
+} kernel_addon_row;
typedef struct {
GtkWidget *row;
GtkWidget *RowBox;
- GtkWidget *TagsBox;
GtkWidget *InstallCheck;
GtkWidget *NameLabel;
- GtkWidget *VersionLabel;
GtkWidget *DescriptionLabel;
+ GtkWidget *VersionLabel;
+ GtkWidget *TagsBox;
char *name;
char *modules;
@@ -1207,4 +1223,12 @@ int yon_advanced_section_append(advanced_section *section);
gboolean on_format_changed(GtkWidget *self, gboolean state, advanced_partition *part);
int yon_layouts_get();
void on_link(GtkWidget *self, char* uri, gpointer );
-void on_source_changed(GtkComboBox *self);
\ No newline at end of file
+void on_source_changed(GtkComboBox *self);
+void yon_focus_set(GtkWidget *,GtkWidget *target);
+void on_main_window_close(GtkWidget*, main_window *);
+gboolean yon_maximize_start(main_window *widgets);
+void *yon_maximize(main_window *widgets);
+kernel_addon_row *yon_kernel_addon_row_new();
+void yon_kernel_addon_row_setup(kernel_addon_row *row, char *name, char *modules,char *package, char *description);
+void on_kernel_addon_install_enabled(GtkWidget *, kernel_addon_row *row);
+void on_kernel_addon_info(GtkLabel *self);
\ No newline at end of file
diff --git a/source/ubl-strings.h b/source/ubl-strings.h
index 8afdaaa..5a3b300 100644
--- a/source/ubl-strings.h
+++ b/source/ubl-strings.h
@@ -227,6 +227,13 @@ NULL)
#define ABOUT_TITLE_LABEL _("About system installation")
#define VALUE_REPEAT_LABEL _("Repeating values")
#define SOURCE_CREATE_ONGOING_ERROR_LABEL _("Source creation were not done")
+#define CREATE_CONFIG_DIALOG_LABEL _("Configuration file does not exist. Create new configuration file?")
+#define CREATE_CONFIG_DIALOG_LABEL_HOMEDIR _("Configuration file does not exist. Create new configuration file? New configuration file will be created at your user's home directory")
+#define ROOT_FORCE_CONFIGURATION_MODE_LABEL _("Warning! Application was launched without root. Only configuration mode is allowed.")
+#define PACKAGE_NOT_FOUND_LABEL _("Package were not found")
+#define PACKAGE_INFO_LABEL _("Package information")
+// #define _LABEL _("Package:")
+// #define _LABEL _("Module:")
// #define _LABEL _("New section at")
// #define _LABEL _("\"/ublinux-data/\" user data section")
// #define _LABEL _("\"/ublinux/\" system section")
diff --git a/ubinstall-gtk-configuration-mode.glade b/ubinstall-gtk-configuration-mode.glade
index f4e73df..676b330 100644
--- a/ubinstall-gtk-configuration-mode.glade
+++ b/ubinstall-gtk-configuration-mode.glade
@@ -1,5 +1,5 @@
-
+
@@ -152,7 +152,7 @@
True
False
2
- UBLinux installation
+ System installation
diff --git a/ubinstall-gtk-kernel-addon-row.glade b/ubinstall-gtk-kernel-addon-row.glade
new file mode 100644
index 0000000..c418d9a
--- /dev/null
+++ b/ubinstall-gtk-kernel-addon-row.glade
@@ -0,0 +1,183 @@
+
+
+
+
+
+
+
diff --git a/ubinstall-gtk-language.glade b/ubinstall-gtk-language.glade
index a1576b9..848cf11 100644
--- a/ubinstall-gtk-language.glade
+++ b/ubinstall-gtk-language.glade
@@ -75,7 +75,7 @@
True
True
liststore1
- 1
+ 0
both
True
diff --git a/ubinstall-gtk-os-row.glade b/ubinstall-gtk-os-row.glade
index 58c5b7e..e3cd295 100644
--- a/ubinstall-gtk-os-row.glade
+++ b/ubinstall-gtk-os-row.glade
@@ -64,7 +64,7 @@
True
False
- start
+ center
3
5
2
@@ -75,6 +75,7 @@
False
True
+ end
6
diff --git a/ubinstall-gtk.glade b/ubinstall-gtk.glade
index 53a7dd8..bb8bea3 100644
--- a/ubinstall-gtk.glade
+++ b/ubinstall-gtk.glade
@@ -3,18 +3,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
100
1
@@ -766,7 +754,6 @@ agreement
5
5
left
- False
True
@@ -778,43 +765,6 @@ agreement
False
vertical
20
-
-
- True
- False
- center
- Welcome to system installation
- True
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- center
- This program will ask you few questions
-and help you install system on your computer
- center
- True
-
-
-
-
-
- False
- True
- 1
-
-
True
@@ -822,13 +772,75 @@ and help you install system on your computer
vertical
5
-
+
True
False
- center
- center
- 128
- /com/ublinux/images/language.png
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Welcome
+ True
+ 0
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
False
@@ -837,96 +849,107 @@ and help you install system on your computer
-
+
True
False
- 5
- True
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ 5
+ True
+
+
+ True
+ True
+ never
+ in
+ 132
-
+
True
True
- never
- in
- 132
+ InstallerLanguageList
+ False
+ 1
+
+
+
-
- True
- True
- InstallerLanguageList
- False
- 1
-
-
-
+
+ True
-
- True
-
-
-
- 2
-
-
-
+
+
+ 2
+
+
+
+
+
+ column
-
- column
-
-
-
- 1
-
-
-
+
+
+ 1
+
-
- True
- True
- 0
-
+
+
+ True
+ True
+ 0
+
+
+
+
+ True
+ True
+ never
+ in
+ 132
-
+
True
True
- never
- in
- 132
+ InstallerCountryFilter
+ False
+ 1
+ 3
+ True
+
+
+
-
- True
- True
- InstallerCountryFilter
- False
- 1
- 3
- True
-
-
-
+
-
-
-
-
- 1
-
-
-
+
+
+ 1
+
-
- True
- True
- 1
-
@@ -939,7 +962,7 @@ and help you install system on your computer
True
True
- 3
+ 1
@@ -969,42 +992,176 @@ and help you install system on your computer
vertical
5
-
+
True
- True
- never
- in
+ False
+ vertical
+ 5
-
+
True
False
- 5
- 5
- 5
- 5
- 5
- 5
+ 10
+ 10
+ 10
+ 10
+ 5
-
+
True
False
- True
- 0
- 0
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Licence agreement
+ True
+ 0
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+ True
+ True
+ 1
+
+
+ False
+ True
+ 0
+
-
-
- True
- True
- 0
-
-
-
-
- 1
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ True
+ never
+ in
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 5
+ 5
+
+
+ True
+ False
+ True
+ 0
+ 0
+
+
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ Yes, I agree to the License Agreement
+ True
+ True
+ False
+ True
+ True
+ LicenseDisgreeRadio
+
+
+ False
+ True
+ 2
+
+
+
+
+ No, i do not agree
+ True
+ True
+ False
+ True
+ True
+
+
+ False
+ True
+ 3
+
+
+
+
+ 1
@@ -1029,29 +1186,102 @@ and help you install system on your computer
True
False
vertical
+ 5
-
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Installation options
+ True
+ 0
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
True
False
- Installation options
-
-
-
-
-
-
False
True
- 1
+ 2
False
True
- 0
+ 1
@@ -1501,15 +1731,102 @@ and help you install system on your computer
vertical
5
-
+
True
False
- Installation completion
-
-
-
-
-
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Installation completion
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
False
@@ -1603,7 +1920,7 @@ and help you install system on your computer
True
True
- 1
+ 2
@@ -1684,35 +2001,122 @@ and help you install system on your computer
vertical
5
-
- True
- False
- Choose system kernel
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
+
True
False
- 0.019999999552965164
- in
+ vertical
+ 5
-
+
True
False
- 5
- 5
- 5
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+ 5
+ 5
+ 5
5
@@ -1947,20 +2351,107 @@ and help you install system on your computer
vertical
5
-
+
True
False
- Choose system kernel
-
-
-
-
-
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose kernel addons
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
False
True
- 0
+ 1
@@ -1998,121 +2489,10 @@ and help you install system on your computer
5
5
-
+
True
False
- vertical
-
-
- True
- False
- 2
- 2
- 7
-
-
- True
- False
- Install
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- Name
- 0
-
-
- False
- True
- 4
-
-
-
-
- True
- False
-
-
- False
- True
- 7
-
-
-
-
- True
- False
- Modules
- 0
-
-
- False
- True
- 8
-
-
-
-
- True
- False
-
-
- False
- True
- 9
-
-
-
-
- True
- False
- Description
- 0
-
-
- True
- True
- 10
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- none
-
-
- True
- True
- 1
-
-
+ none
@@ -2181,6 +2561,110 @@ and help you install system on your computer
0
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 1
+
+
True
@@ -2196,63 +2680,61 @@ and help you install system on your computer
5
5
-
+
True
- True
- in
+ False
-
+
True
- True
- AdditionalSoftwareList
- 0
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
-
- Module name
-
-
-
- 1
-
-
-
-
-
-
- Type
-
-
-
- 2
-
-
-
-
+ False
+ vertical
+ 5
-
- Description
+
+ True
+ True
-
-
- 3
-
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 5
+ 5
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ none
+
+
+ True
+ True
+ 1
+
+
+
+
+
+
+ True
+ True
+ 1
+
+
+ -1
+
@@ -2269,7 +2751,7 @@ and help you install system on your computer
True
True
- 1
+ 2
@@ -2312,57 +2794,161 @@ and help you install system on your computer
-
+
True
False
- 0.019999999552965164
- in
+ vertical
+ 5
-
+
True
False
- 5
- 5
- 5
- 5
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
True
False
vertical
- 5
-
+
True
False
- 5
-
-
- True
- False
- Package name:
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- com.ublinux.libublsettingsui-gtk3.zoom-symbolic
-
-
- False
- True
- 1
-
-
-
-
- True
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 5
+
+
+ True
+ False
+ Package name:
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ True
+ com.ublinux.libublsettingsui-gtk3.zoom-symbolic
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
True
True
image26
@@ -2515,7 +3101,7 @@ and help you install system on your computer
True
True
- 1
+ 2
@@ -2606,7 +3192,7 @@ and help you install system on your computer
True
True
- 2
+ 3
@@ -2649,6 +3235,110 @@ and help you install system on your computer
0
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 1
+
+
True
@@ -2670,7 +3360,7 @@ and help you install system on your computer
True
True
- 1
+ 2
@@ -2900,7 +3590,7 @@ and help you install system on your computer
False
True
- 2
+ 3
@@ -2925,48 +3615,6 @@ and help you install system on your computer
False
vertical
5
-
-
- True
- False
- Keyboard
-
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 0
- none
-
-
- 1
- 1
- True
- False
-
-
-
-
-
-
-
- True
- True
- 1
-
-
True
@@ -2977,12 +3625,18 @@ and help you install system on your computer
True
False
+ 10
+ 10
+ 10
+ 10
5
-
+
True
False
- Keyboard model:
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
False
@@ -2991,16 +3645,156 @@ and help you install system on your computer
-
+
True
- True
- 0
-
- - Default (Regular 105-key)
-
-
-
- True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Keyboard
+
+
+
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ 0
+ none
+
+
+ 1
+ 1
+ True
+ False
+
+
+
+
+
+
+
+ True
+ True
+ 2
+
+
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 5
+
+
+ True
+ False
+ Keyboard model:
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ True
+ 0
+
+ - Default (Regular 105-key)
+
+
+
+ True
True
2
@@ -3079,7 +3873,7 @@ and help you install system on your computer
False
True
- 2
+ 3
@@ -3194,7 +3988,7 @@ and help you install system on your computer
False
True
- 3
+ 4
@@ -3219,6 +4013,110 @@ and help you install system on your computer
False
vertical
5
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
True
@@ -3234,7 +4132,7 @@ and help you install system on your computer
False
True
- 0
+ 1
@@ -3258,7 +4156,7 @@ and help you install system on your computer
True
True
- 1
+ 2
@@ -3293,7 +4191,7 @@ and help you install system on your computer
False
True
- 2
+ 3
@@ -3747,6 +4645,9 @@ and help you install system on your computer
3
+
+
+
12
@@ -4109,6 +5010,9 @@ and help you install system on your computer
2
+
+
+
13
@@ -4501,6 +5405,9 @@ and help you install system on your computer
2
+
+
+
14
@@ -4524,33 +5431,137 @@ and help you install system on your computer
vertical
5
-
- True
- False
- Installation
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
+
True
False
-
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Installation
+
+
+
+
+
+
False
True
1
+
+
+ True
+ False
+
+
+ False
+ True
+ 2
+
+
15
@@ -4573,6 +5584,110 @@ and help you install system on your computer
False
vertical
5
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
True
@@ -4588,7 +5703,7 @@ and help you install system on your computer
False
True
- 0
+ 1
@@ -4598,7 +5713,7 @@ and help you install system on your computer
True
True
- 1
+ 2
@@ -4615,7 +5730,7 @@ and help you install system on your computer
True
True
- 2
+ 3
@@ -4635,7 +5750,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 3
+ 4
@@ -4660,6 +5775,110 @@ or continue working in the environment, booted from the Live image.
False
vertical
5
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
True
@@ -4675,7 +5894,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 0
+ 1
@@ -4685,7 +5904,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 1
+ 2
@@ -4702,7 +5921,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 2
+ 3
@@ -4720,7 +5939,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 3
+ 4
@@ -4745,6 +5964,110 @@ or continue working in the environment, booted from the Live image.
False
vertical
5
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
True
@@ -4760,7 +6083,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 0
+ 1
@@ -4770,7 +6093,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 1
+ 2
@@ -4787,7 +6110,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 2
+ 3
@@ -4803,33 +6126,137 @@ or continue working in the environment, booted from the Live image.
- True
+ True
+ True
+ 4
+
+
+
+
+ 18
+
+
+
+
+ True
+ False
+ Configuration error
+
+
+ 18
+ False
+
+
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
True
- 3
+ 0
-
-
- 18
-
-
-
-
- True
- False
- Configuration error
-
-
- 18
- False
-
-
-
-
- True
- False
- vertical
- 5
True
@@ -4845,7 +6272,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 0
+ 1
@@ -4855,7 +6282,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 1
+ 2
@@ -4872,7 +6299,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 2
+ 3
@@ -4890,7 +6317,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 3
+ 4
@@ -4915,6 +6342,110 @@ or continue working in the environment, booted from the Live image.
False
vertical
5
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ com.ublinux.ubinstall-gtk
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Choose system kernel
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ This program will ask you few questions and help you install system on your computer
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
True
@@ -4930,7 +6461,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 0
+ 1
@@ -4940,7 +6471,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 1
+ 2
@@ -4957,7 +6488,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 2
+ 3
@@ -4975,7 +6506,7 @@ or continue working in the environment, booted from the Live image.
True
True
- 3
+ 4
@@ -5000,23 +6531,6 @@ or continue working in the environment, booted from the Live image.
False
vertical
5
-
-
- True
- False
- Installation parameters
-
-
-
-
-
-
-
- False
- True
- 0
-
-
True
@@ -5043,12 +6557,18 @@ or continue working in the environment, booted from the Live image.
True
False
+ 10
+ 10
+ 10
+ 10
5
True
False
+ 48
/com/ublinux/images/install_type_fast_normal.png
+ 0
False
@@ -5061,15 +6581,18 @@ or continue working in the environment, booted from the Live image.
True
False
vertical
- 5
-
+
True
False
Installation
+ True
0
-
+
+
+
+
@@ -5079,11 +6602,16 @@ or continue working in the environment, booted from the Live image.
-
+
True
False
Deleting all data on the selected disk and then installing the system
+ center
+ True
0
+
+
+
False
@@ -5102,9 +6630,33 @@ or continue working in the environment, booted from the Live image.
False
True
- 0
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+ 5
True
@@ -5232,7 +6784,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 0
+ 1
@@ -5443,23 +6995,6 @@ or continue working in the environment, booted from the Live image.
False
vertical
5
-
-
- True
- False
- Installation parameters
-
-
-
-
-
-
-
- False
- True
- 0
-
-
True
@@ -5486,12 +7021,18 @@ or continue working in the environment, booted from the Live image.
True
False
+ 10
+ 10
+ 10
+ 10
5
True
False
+ 48
/com/ublinux/images/install_type_next_normal.png
+ 0
False
@@ -5504,15 +7045,18 @@ or continue working in the environment, booted from the Live image.
True
False
vertical
- 5
-
+
True
False
Installation next to another system
+ True
0
-
+
+
+
+
@@ -5522,11 +7066,16 @@ or continue working in the environment, booted from the Live image.
-
+
True
False
Shrinking a partition and creating a new one for installing OS
+ center
+ True
0
+
+
+
False
@@ -5545,23 +7094,18 @@ or continue working in the environment, booted from the Live image.
False
True
- 1
+ -1
-
+
True
False
- <b>Attention!</b> The system will be installed in the selected partition. If you do not change the FS type or format, all data on the partition will be saved.
- True
- True
- 0
- 0
False
True
- 2
+ 1
@@ -5571,6 +7115,22 @@ or continue working in the environment, booted from the Live image.
0
+
+
+ True
+ False
+ <b>Attention!</b> The system will be installed in the selected partition. If you do not change the FS type or format, all data on the partition will be saved.
+ True
+ True
+ 0
+ 0
+
+
+ False
+ True
+ 1
+
+
True
@@ -5822,7 +7382,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 1
+ 2
@@ -6109,23 +7669,6 @@ or continue working in the environment, booted from the Live image.
False
vertical
5
-
-
- True
- False
- Installation parameters
-
-
-
-
-
-
-
- False
- True
- 0
-
-
True
@@ -6146,22 +7689,24 @@ or continue working in the environment, booted from the Live image.
True
False
- center
- center
- 20
- 20
vertical
5
True
False
+ 10
+ 10
+ 10
+ 10
5
True
False
+ 48
/com/ublinux/images/install_type_part_normal.png
+ 0
False
@@ -6174,15 +7719,18 @@ or continue working in the environment, booted from the Live image.
True
False
vertical
- 5
-
+
True
False
Installation on the same partition as another system
+ True
0
-
+
+
+
+
@@ -6192,11 +7740,16 @@ or continue working in the environment, booted from the Live image.
-
+
True
False
Unpacking into an existing system
+ center
+ True
0
+
+
+
False
@@ -6215,23 +7768,18 @@ or continue working in the environment, booted from the Live image.
False
True
- 1
+ -1
-
+
True
False
- <b>Attention!</b> The system will be installed on the selected partition with OS already installed. All user data will be saved.
- True
- True
- 0
- 0
False
True
- 2
+ 1
@@ -6241,6 +7789,22 @@ or continue working in the environment, booted from the Live image.
0
+
+
+ True
+ False
+ <b>Attention!</b> The system will be installed on the selected partition with OS already installed. All user data will be saved.
+ True
+ True
+ 0
+ 0
+
+
+ False
+ True
+ 1
+
+
True
@@ -6490,7 +8054,7 @@ or continue working in the environment, booted from the Live image.
False
True
- 1
+ 2
@@ -6734,23 +8298,6 @@ or continue working in the environment, booted from the Live image.
False
vertical
5
-
-
- True
- False
- Installation parameters
-
-
-
-
-
-
-
- False
- True
- 0
-
-
True
@@ -6761,12 +8308,18 @@ or continue working in the environment, booted from the Live image.
True
False
+ 10
+ 10
+ 10
+ 10
5
True
False
+ 48
/com/ublinux/images/install_type_custom_normal.png
+ 0
False
@@ -6780,13 +8333,17 @@ or continue working in the environment, booted from the Live image.
False
vertical
-
+
True
False
Advanced installation mode
+ True
0
-
+
+
+
+
@@ -6796,11 +8353,16 @@ or continue working in the environment, booted from the Live image.
-
+
True
False
Installing OS files, user data on different partitions, creating RAID, etc.
+ center
+ True
0
+
+
+
False
@@ -6819,17 +8381,13 @@ or continue working in the environment, booted from the Live image.
False
True
- 0
+ -1
-
+
True
False
- <b>Attention!</b> The selected system components will be installed
-separately into the selected partition.
- True
- 0
False
@@ -6838,6 +8396,21 @@ separately into the selected partition.
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ <b>Attention!</b> The selected system components will be installed
+separately into the selected partition.
+ True
+ 0
+
False
True
@@ -7782,15 +9355,102 @@ separately into the selected partition.
vertical
5
-
+
True
False
- Installation options
-
-
-
-
-
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ /com/ublinux/images/install_type_recovery_normal.png
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ Advanced installation mode
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Installing OS files, user data on different partitions, creating RAID, etc.
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
False
@@ -7812,96 +9472,18 @@ separately into the selected partition.
False
vertical
-
+
True
False
- vertical
- 5
-
-
- True
- False
- 5
-
-
- True
- False
- /com/ublinux/images/install_type_recovery_normal.png
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
-
-
- True
- False
- Advanced installation mode
- 0
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- Installing OS files, user data on different partitions, creating RAID, etc.
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- <b>Attention!</b> The selected system components will be installed
+ <b>Attention!</b> The selected system components will be installed
separately into the selected partition.
- True
- 0
-
-
- False
- True
- 1
-
-
+ True
+ 0
False
True
- 1
+ 0
@@ -8264,15 +9846,102 @@ separately into the selected partition.
vertical
5
-
+
True
False
- Installation parameters
-
-
-
-
-
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ /com/ublinux/images/install_type_grub_install_normal.png
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ GRUB install
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Install the GRUB bootloader
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
False
@@ -8300,72 +9969,6 @@ separately into the selected partition.
False
vertical
5
-
-
- True
- False
- 5
-
-
- True
- False
- /com/ublinux/images/install_type_grub_install_normal.png
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
- GRUB install
- 0
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- Install the GRUB bootloader
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
True
@@ -8639,108 +10242,129 @@ separately into the selected partition.
vertical
5
-
+
True
False
- Installation parameters
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- True
+ vertical
+ 5
-
+
True
False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ /com/ublinux/images/install_type_grub_update_normal.png
+ 0
+
+
+ False
+ True
+ 0
+
+
True
False
vertical
- 5
-
+
True
False
- vertical
- 5
-
-
- True
- False
- 5
-
-
- True
- False
- /com/ublinux/images/install_type_grub_update_normal.png
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
- GRUB update
- 0
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- Update (reinstall) the GRUB bootloader
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
+ GRUB update
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Update (reinstall) the GRUB bootloader
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ True
+
+
+ True
+ False
+
+
+ True
+ False
+ vertical
+ 5
+
+
+ True
+ False
+ vertical
+ 5
True
@@ -9007,15 +10631,102 @@ separately into the selected partition.
vertical
5
-
+
True
False
- Installation parameters
-
-
-
-
-
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ /com/ublinux/images/install_type_system_only_normal.png
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ OS only
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Installing only OS components without user data
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
False
@@ -9043,72 +10754,6 @@ separately into the selected partition.
False
vertical
5
-
-
- True
- False
- 5
-
-
- True
- False
- /com/ublinux/images/install_type_system_only_normal.png
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
- OS only
- 0
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- Installing only OS components without user data
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
True
@@ -9446,11 +11091,9 @@ separately into the selected partition.
-
+
True
False
- none
- True
True
@@ -9541,7 +11184,6 @@ separately into the selected partition.
True
- False
False
1
@@ -9602,6 +11244,9 @@ separately into the selected partition.
True
False
+
+ - Default
+
False
@@ -9722,15 +11367,102 @@ separately into the selected partition.
vertical
5
-
+
True
False
- Installation parameters
-
-
-
-
-
+ vertical
+ 5
+
+
+ True
+ False
+ 10
+ 10
+ 10
+ 10
+ 5
+
+
+ True
+ False
+ 48
+ /com/ublinux/images/install_type_data_only_normal.png
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ User data only
+ True
+ 0
+
+
+
+
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Installing only user data without OS components
+ center
+ True
+ 0
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ True
+ -1
+
+
+
+
+ True
+ False
+
+
+ False
+ True
+ 1
+
+
False
@@ -10163,11 +11895,9 @@ separately into the selected partition.
-
+
True
False
- none
- True
True
@@ -10260,7 +11990,6 @@ separately into the selected partition.
True
- False
False
1
@@ -10321,6 +12050,9 @@ separately into the selected partition.
True
False
+
+ - Default
+
False