master #238

Merged
asmeron merged 9 commits from YanTheKaller/ubinstall-gtk:master into master 2 months ago

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

@ -604,35 +604,49 @@ int yon_advanced_save(main_window *widgets){
if (!yon_char_is_empty(parts[0])||!yon_char_is_empty(parts[1])){ if (!yon_char_is_empty(parts[0])||!yon_char_is_empty(parts[1])){
char *parts_str = yon_char_parsed_to_string_full(parts,2,","); char *parts_str = yon_char_parsed_to_string_full(parts,2,",");
yon_config_register(part_parameter,part_parameter_command,parts_str); yon_config_register(part_parameter,part_parameter_command,parts_str);
} else {
yon_config_remove_by_key(part_parameter);
} }
if (part_size[0]||part_size[1]){ if (part_size[0]||part_size[1]){
char *part_size_str = yon_char_parsed_to_string_full(part_size,2,","); char *part_size_str = yon_char_parsed_to_string_full(part_size,2,",");
yon_config_register(part_size_parameter,part_size_parameter_command,part_size_str); yon_config_register(part_size_parameter,part_size_parameter_command,part_size_str);
} else {
yon_config_remove_by_key(part_size_parameter);
} }
if (part_label[0]||part_label[1]){ if (part_label[0]||part_label[1]){
char *part_label_str = yon_char_parsed_to_string_full(part_label,2,","); char *part_label_str = yon_char_parsed_to_string_full(part_label,2,",");
yon_config_register(part_label_parameter,part_label_parameter_command,part_label_str); yon_config_register(part_label_parameter,part_label_parameter_command,part_label_str);
} else {
yon_config_remove_by_key(part_label_parameter);
} }
if (fs_type[0]||fs_type[1]){ if (fs_type[0]||fs_type[1]){
char *fs_type_str = yon_char_parsed_to_string_full(fs_type,2,","); char *fs_type_str = yon_char_parsed_to_string_full(fs_type,2,",");
yon_config_register(part_fs_type_parameter,part_fs_type_parameter_command,fs_type_str); yon_config_register(part_fs_type_parameter,part_fs_type_parameter_command,fs_type_str);
} else {
yon_config_remove_by_key(part_fs_type_parameter);
} }
if (fs_label[0]||fs_label[1]){ if (fs_label[0]||fs_label[1]){
char *fs_label_str = yon_char_parsed_to_string_full(fs_label,2,","); char *fs_label_str = yon_char_parsed_to_string_full(fs_label,2,",");
yon_config_register(part_fs_label_parameter,part_fs_label_parameter_command,fs_label_str); yon_config_register(part_fs_label_parameter,part_fs_label_parameter_command,fs_label_str);
} else {
yon_config_remove_by_key(part_fs_label_parameter);
} }
if (encryption[0]||encryption[1]){ if (encryption[0]||encryption[1]){
char *encryption_str = yon_char_parsed_to_string_full(encryption,2,","); char *encryption_str = yon_char_parsed_to_string_full(encryption,2,",");
yon_config_register(part_crypt_parameter,part_crypt_parameter_command,encryption_str); yon_config_register(part_crypt_parameter,part_crypt_parameter_command,encryption_str);
} else {
yon_config_remove_by_key(part_crypt_parameter);
} }
if (format[0]||format[1]){ if (format[0]||format[1]){
char *format_str = yon_char_parsed_to_string_full(format,2,","); char *format_str = yon_char_parsed_to_string_full(format,2,",");
yon_config_register(part_format_parameter,part_format_parameter_command,format_str); yon_config_register(part_format_parameter,part_format_parameter_command,format_str);
} else {
yon_config_remove_by_key(part_format_parameter);
} }
if (gtk_switch_get_active(GTK_SWITCH(widgets->AdvancedLoadTypeSwitch))){ if (gtk_switch_get_active(GTK_SWITCH(widgets->AdvancedLoadTypeSwitch))){
char *boot = NULL; char *boot = NULL;
@ -686,7 +700,13 @@ void yon_advanced_part_parameter_changed(GtkWidget *self, advanced_partition *pa
} else if (self == part->PartLabelEntry){ } else if (self == part->PartLabelEntry){
section->part_label = yon_char_new(gtk_entry_get_text(GTK_ENTRY(part->PartLabelEntry))); section->part_label = yon_char_new(gtk_entry_get_text(GTK_ENTRY(part->PartLabelEntry)));
} else if (self == part->FileSystemTypeCombo){ } else if (self == part->FileSystemTypeCombo){
section->fs_type = yon_char_new(gtk_combo_box_get_active_id(GTK_COMBO_BOX(part->FileSystemTypeCombo))); if (!gtk_combo_box_get_active(GTK_COMBO_BOX(part->FileSystemTypeCombo))){
section->fs_type = NULL;
} else {
GList *list = gtk_container_get_children(GTK_CONTAINER(part->FileSystemTypeCombo));
section->fs_type = yon_char_new(gtk_entry_get_text(GTK_ENTRY(list->data)));
g_list_free(list);
}
} else if (self == part->FileSystemLabelEntry){ } else if (self == part->FileSystemLabelEntry){
section->fs_label = yon_char_new(gtk_entry_get_text(GTK_ENTRY(part->FileSystemLabelEntry))); section->fs_label = yon_char_new(gtk_entry_get_text(GTK_ENTRY(part->FileSystemLabelEntry)));
} else if (self == part->EncryptionCombo||self == part->EncryptionEntry){ } else if (self == part->EncryptionCombo||self == part->EncryptionEntry){

@ -108,7 +108,10 @@ int yon_os_components_save(main_window *widgets){
char *final = yon_char_parsed_to_string(modules,size,","); char *final = yon_char_parsed_to_string(modules,size,",");
yon_config_register(modules_parameter,modules_parameter_command,final); yon_config_register(modules_parameter,modules_parameter_command,final);
} else { } else {
yon_config_remove_by_key(modules_parameter); // yon_config_remove_by_key(modules_parameter);
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
yon_ubl_status_highlight_incorrect(widgets->OSSoftwareListBox);
return 0;
} }
return 1; return 1;
} }
@ -142,7 +145,7 @@ void *yon_modules_list_load(main_window *widgets){
int size; int size;
config_str modules = yon_config_load(yon_debug_output("%s\n",get_modules_command),&size); config_str modules = yon_config_load(yon_debug_output("%s\n",get_modules_command),&size);
for(int i=1;i<size;i++){ for(int i=1;i<size;i++){
yon_char_remove_last_symbol(modules[i],'\0'); yon_char_remove_last_symbol(modules[i],'\n');
int parsed_size; int parsed_size;
config_str parsed = yon_char_parse(modules[i],&parsed_size,";"); config_str parsed = yon_char_parse(modules[i],&parsed_size,";");
struct row_data *row = malloc(sizeof(struct row_data)); struct row_data *row = malloc(sizeof(struct row_data));
@ -204,6 +207,10 @@ gboolean yon_spinner_switch_off(GtkSpinner *target){
return G_SOURCE_REMOVE; return G_SOURCE_REMOVE;
} }
void yon_modules_missed_func(main_window *widgets){
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),MAIN_COMPONENTS_NOT_FOUND_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
}
void *yon_os_components_setup(main_window *widgets){ void *yon_os_components_setup(main_window *widgets){
int base_size; int base_size;
config_str base = yon_config_load(get_modules_command,&base_size); config_str base = yon_config_load(get_modules_command,&base_size);
@ -220,6 +227,10 @@ void *yon_os_components_setup(main_window *widgets){
g_idle_add((GSourceFunc)yon_os_component_insert,row); g_idle_add((GSourceFunc)yon_os_component_insert,row);
} }
g_idle_add((GSourceFunc)yon_spinner_switch_off,widgets->OSSpinner); g_idle_add((GSourceFunc)yon_spinner_switch_off,widgets->OSSpinner);
if (!base_size){
g_idle_add_once((GSourceOnceFunc)yon_modules_missed_func,widgets);
return NULL;
}
yon_char_parsed_free(base,base_size); yon_char_parsed_free(base,base_size);
return NULL; return NULL;
} }
@ -508,6 +519,10 @@ void *yon_pacman_load(struct pacman_struct *pacman){
return NULL; return NULL;
} }
void on_pacman_search_enter(GtkEntry *self, main_window *widgets){
on_pacman_icon_press(self,GTK_ENTRY_ICON_SECONDARY,NULL,widgets);
}
void on_pacman_icon_press(GtkEntry *self,GtkEntryIconPosition icon_pos,GdkEvent* ,main_window *widgets){ void on_pacman_icon_press(GtkEntry *self,GtkEntryIconPosition icon_pos,GdkEvent* ,main_window *widgets){
if(icon_pos != GTK_ENTRY_ICON_SECONDARY) return; if(icon_pos != GTK_ENTRY_ICON_SECONDARY) return;

@ -275,7 +275,7 @@ void on_kernel_addon_info(GtkLabel *self){
yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,PACKAGE_INFO_LABEL,icon_path,"info-label"); yon_gtk_window_setup(GTK_WINDOW(window->Window),NULL,PACKAGE_INFO_LABEL,icon_path,"info-label");
char *package=NULL; char *package=NULL;
package = yon_char_new(gtk_label_get_text(self)); package = yon_char_new(gtk_label_get_text(self));
int size; int size=0;
if (strstr(package,",")){ if (strstr(package,",")){
@ -288,8 +288,9 @@ void on_kernel_addon_info(GtkLabel *self){
yon_packages_info *info_struct = yon_packages_get_info_struct(YON_PACKAGES_ALL,package); yon_packages_info *info_struct = yon_packages_get_info_struct(YON_PACKAGES_ALL,package);
if (!info_struct) return; if (!info_struct) return;
char* info_string = yon_packages_get_info_string(info_struct); char* info_string = yon_packages_get_info_string(info_struct);
yon_debug_output("%s\n",info_string);
config_str info = yon_char_parse(info_string,&size,"\n"); config_str info = yon_char_parse(info_string,&size,"\n");
if (size!=-1){ if (size>0){
info_element *element = yon_package_info_element_new(); info_element *element = yon_package_info_element_new();
gtk_box_pack_start(GTK_BOX(window->MainBox),element->MainBox,1,1,0); gtk_box_pack_start(GTK_BOX(window->MainBox),element->MainBox,1,1,0);
for (int i=0;i<size;i++){ for (int i=0;i<size;i++){

@ -11,8 +11,17 @@ void on_log_closed(GtkWidget *, log_window *window){
window->Window=NULL; window->Window=NULL;
} }
gboolean on_log_window_exit(GtkWidget *,GdkEvent*, log_window *window){
if (window->timer_id){
g_source_remove(window->timer_id);
window->timer_id=0;
}
return 0;
}
log_window *yon_log_window_new(){ log_window *yon_log_window_new(){
log_window *window = malloc(sizeof(log_window)); log_window *window = malloc(sizeof(log_window));
memset(window,0,sizeof(log_window));
GtkBuilder *builder = gtk_builder_new_from_resource(glade_path_log_view); GtkBuilder *builder = gtk_builder_new_from_resource(glade_path_log_view);
window->Window = yon_gtk_builder_get_widget(builder,"MainWindow"); window->Window = yon_gtk_builder_get_widget(builder,"MainWindow");
window->ScrollWindow = yon_gtk_builder_get_widget(builder,"ScrollWindow"); window->ScrollWindow = yon_gtk_builder_get_widget(builder,"ScrollWindow");
@ -21,10 +30,22 @@ log_window *yon_log_window_new(){
window->StatusBox = yon_gtk_builder_get_widget(builder,"StatusBox"); window->StatusBox = yon_gtk_builder_get_widget(builder,"StatusBox");
window->ScrollToEndCheck = yon_gtk_builder_get_widget(builder,"ScrollToEndCheck"); window->ScrollToEndCheck = yon_gtk_builder_get_widget(builder,"ScrollToEndCheck");
window->monitor = NULL; window->monitor = NULL;
g_signal_connect(G_OBJECT(window->ScrollWindow),"scroll-child",G_CALLBACK(yon_log_scroll),window);
g_signal_connect(G_OBJECT(window->Window),"delete-event",G_CALLBACK(on_log_window_exit),window);
gtk_widget_show(window->Window); gtk_widget_show(window->Window);
return window; return window;
} }
gboolean yon_log_scroll(log_window *window){
GtkAdjustment *adj = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(window->ScrollWindow));
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(window->ScrollToEndCheck))){
gtk_adjustment_set_value(adj,
gtk_adjustment_get_upper(adj));
}
return G_SOURCE_CONTINUE;
}
void yon_read_log(GFileMonitor *,GFile *,GFile *,GFileMonitorEvent ,log_window *window){ void yon_read_log(GFileMonitor *,GFile *,GFile *,GFileMonitorEvent ,log_window *window){
if (window->Window){ if (window->Window){
int size; int size;
@ -35,7 +56,13 @@ void yon_read_log(GFileMonitor *,GFile *,GFile *,GFileMonitorEvent ,log_window *
char *final = yon_char_parsed_to_string(parsed,size,""); char *final = yon_char_parsed_to_string(parsed,size,"");
gtk_label_set_text(GTK_LABEL(window->LogLabel),final); gtk_label_set_text(GTK_LABEL(window->LogLabel),final);
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(window->ScrollToEndCheck))){ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(window->ScrollToEndCheck))){
if (!window->timer_id){
window->timer_id = g_idle_add((GSourceFunc)yon_log_scroll,window);
}
gtk_adjustment_set_value(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(window->ScrollWindow)),gtk_adjustment_get_upper(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(window->ScrollWindow)))); gtk_adjustment_set_value(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(window->ScrollWindow)),gtk_adjustment_get_upper(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(window->ScrollWindow))));
} else if (window->timer_id){
g_source_remove(window->timer_id);
window->timer_id=0;
} }
free(final); free(final);
yon_char_parsed_free(parsed,size); yon_char_parsed_free(parsed,size);
@ -48,6 +75,10 @@ void yon_read_log(GFileMonitor *,GFile *,GFile *,GFileMonitorEvent ,log_window *
g_mutex_unlock(&main_config.install_mutex); g_mutex_unlock(&main_config.install_mutex);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->ScrollToEndCheck),0); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->ScrollToEndCheck),0);
gtk_widget_set_sensitive(window->ScrollToEndCheck,0); gtk_widget_set_sensitive(window->ScrollToEndCheck,0);
if (window->timer_id){
g_source_remove(window->timer_id);
window->timer_id=0;
}
} }
} }
return ; return ;

@ -214,8 +214,11 @@ void yon_region_init(main_window *widgets){
char *zone_city = yon_timezone_get_city(parsed[i]); char *zone_city = yon_timezone_get_city(parsed[i]);
char *zone = yon_timezone_get_zone(parsed[i]); char *zone = yon_timezone_get_zone(parsed[i]);
char *zone_name = yon_char_unite(_(zone_city),", ", _(zone_country),NULL); char *zone_name = yon_char_unite(_(zone_city),", ", _(zone_country),NULL);
char *zone_name_original = yon_char_unite(zone_city,", ", zone_country,NULL);
gtk_list_store_append(widgets->RegionTimezoneCompletionList,&iter); gtk_list_store_append(widgets->RegionTimezoneCompletionList,&iter);
gtk_list_store_set(widgets->RegionTimezoneCompletionList,&iter,0,zone_name,1,parsed[i],-1); gtk_list_store_set(widgets->RegionTimezoneCompletionList,&iter,0,zone_name,1,parsed[i],-1);
gtk_list_store_append(widgets->RegionTimezoneCompletionList,&iter);
gtk_list_store_set(widgets->RegionTimezoneCompletionList,&iter,0,zone_name_original,1,parsed[i],-1);
g_hash_table_add(timezones_list,yon_char_new(zone)); g_hash_table_add(timezones_list,yon_char_new(zone));
} }
yon_char_parsed_free(parsed,size); yon_char_parsed_free(parsed,size);

@ -89,7 +89,7 @@ void yon_startup_language_init(){
} }
void yon_main_window_update_locale(main_window *widgets){ void yon_main_window_update_locale(main_window *widgets){
volatile char *locale = config(installer_locale_parameter); char *locale = yon_char_new(config(installer_locale_parameter));
if (yon_char_is_empty((char *)locale)){ if (yon_char_is_empty((char *)locale)){
char *sys_locale = config(lang_parameter); char *sys_locale = config(lang_parameter);

@ -136,27 +136,28 @@ void on_rdp_toggled(GtkWidget *self, main_window *){
GList *box = gtk_container_get_children(GTK_CONTAINER(self)); GList *box = gtk_container_get_children(GTK_CONTAINER(self));
GList *children = gtk_container_get_children(GTK_CONTAINER(box->data)); GList *children = gtk_container_get_children(GTK_CONTAINER(box->data));
int active = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,1))); int active = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,0)));
if (!active){ if (!active){
yon_launch(enable_rdp_command); yon_launch(enable_rdp_command);
} else { } else {
yon_launch(disable_rdp_command); yon_launch(disable_rdp_command);
} }
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,1)),!active); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,0)),!active);
g_list_free(box); g_list_free(box);
g_list_free(children); g_list_free(children);
} }
void on_vnc_toggled(GtkWidget *self, main_window *){ void on_vnc_toggled(GtkWidget *self, main_window *){
GList *box = gtk_container_get_children(GTK_CONTAINER(self)); GList *box = gtk_container_get_children(GTK_CONTAINER(self));
GList *children = gtk_container_get_children(GTK_CONTAINER(box->data)); GList *children = gtk_container_get_children(GTK_CONTAINER(box->data));
int active = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,1))); int active = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,0)));
if (!active){ if (!active){
yon_launch(enable_vnc_command); yon_launch_app_with_arguments(enable_vnc_command,NULL);
} else { } else {
yon_launch(disable_vnc_command); yon_launch_app_with_arguments(disable_vnc_command,NULL);
} }
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,1)),!active); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(g_list_nth_data(children,0)),!active);
g_list_free(box); g_list_free(box);
g_list_free(children); g_list_free(children);
} }
@ -173,38 +174,14 @@ void on_toggle_button_switch_on(GtkWidget *, GtkToggleButton *toggle){
// * Функция инициализации всех параметров конфигурации // * Функция инициализации всех параметров конфигурации
// */ // */
void config_init(){ void config_init(){
main_config.always_open_documentation=0; memset(&main_config,0,sizeof(config));
main_config.socket_id=-1; main_config.socket_id=-1;
main_config.save_socket_id=-1; main_config.save_socket_id=-1;
main_config.load_socket_id=-1; main_config.load_socket_id=-1;
main_config.lock_help=0;
main_config.lock_help=0;
main_config.lock_load_global=0;
main_config.lock_save_global=0;
main_config.lock_save_local=0;
main_config.debug_mode=0;
main_config.slider_thread=0;
main_config.install_thread=0;
main_config.progress_thread=0;
main_config.install_complete=0;
main_config.save_done=0;
main_config.save_configured=0;
main_config.configure_mode=0;
main_config.load_mode=YON_CONFIG_GLOBAL; main_config.load_mode=YON_CONFIG_GLOBAL;
main_config.log_progress_buzy=0;
main_config.log_end=0;
main_config.exit_accepted=0;
main_config.config_load_path = NULL;
main_config.config_save_path = NULL;
main_config.force_scenario=0;
yon_packages_init(); yon_packages_init();
main_config.dry_run=0;
main_config.force_ini=NULL;
main_config.network_types = g_hash_table_new(g_str_hash,g_str_equal); main_config.network_types = g_hash_table_new(g_str_hash,g_str_equal);
main_config.slides = NULL;
main_config.chosen_slide = NULL;
main_config.os_name = NULL;
main_config.devices = yon_config_load(get_devices_command,&main_config.devices_size); main_config.devices = yon_config_load(get_devices_command,&main_config.devices_size);
{ {
int size; int size;
@ -758,6 +735,7 @@ void yon_main_window_create(main_window *widgets){
g_signal_connect(G_OBJECT(widgets->PacmanSoftwareAllCell),"toggled",G_CALLBACK(on_pacman_software_all_toggled),widgets); 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); g_signal_connect(G_OBJECT(widgets->PacmanSoftwareChosenCell),"toggled",G_CALLBACK(on_pacman_software_chosen_toggled),widgets);
g_signal_connect(G_OBJECT(widgets->PacmanSoftwareSearchEntry),"icon-press",G_CALLBACK(on_pacman_icon_press),widgets); g_signal_connect(G_OBJECT(widgets->PacmanSoftwareSearchEntry),"icon-press",G_CALLBACK(on_pacman_icon_press),widgets);
g_signal_connect(G_OBJECT(widgets->PacmanSoftwareSearchEntry),"activate",G_CALLBACK(on_pacman_search_enter),widgets);
g_signal_connect(G_OBJECT(widgets->BootloadUserAddButton),"clicked",G_CALLBACK(on_bootloader_user_add),widgets); g_signal_connect(G_OBJECT(widgets->BootloadUserAddButton),"clicked",G_CALLBACK(on_bootloader_user_add),widgets);
g_signal_connect(G_OBJECT(widgets->BootloadTimerSwitch),"state-set",G_CALLBACK(yon_gtk_widget_set_sensitive_from_switch),widgets->BootloadTimerSpin); g_signal_connect(G_OBJECT(widgets->BootloadTimerSwitch),"state-set",G_CALLBACK(yon_gtk_widget_set_sensitive_from_switch),widgets->BootloadTimerSpin);

@ -885,6 +885,8 @@ typedef struct
GtkWidget *ScrollToEndCheck; GtkWidget *ScrollToEndCheck;
GFileMonitor *monitor; GFileMonitor *monitor;
guint timer_id;
char *command; char *command;
} log_window; } log_window;
@ -1520,3 +1522,7 @@ void yon_pacman_software_update_overall_size(main_window *widgets);
int yon_installation_check_packages_size(main_window *widgets); int yon_installation_check_packages_size(main_window *widgets);
config_str yon_os_components_get_modules(int *size); config_str yon_os_components_get_modules(int *size);
int yon_os_components_check_packages_size(GtkWidget *, main_window *widgets); int yon_os_components_check_packages_size(GtkWidget *, main_window *widgets);
void on_pacman_search_enter(GtkEntry *self, main_window *widgets);
gboolean yon_log_scroll(log_window *window);
gboolean on_log_window_exit(GtkWidget *,GdkEvent*, log_window *window);
void yon_modules_missed_func(main_window *widgets);

@ -577,3 +577,5 @@ For more information, visit our website the \"Support Levels\" section.")
#define slide_22_title _("Network Boot") #define slide_22_title _("Network Boot")
#define slide_22_text _("Allows system booting for diskless and standard workstations over a local network or the Internet (even over slow connection channels).") #define slide_22_text _("Allows system booting for diskless and standard workstations over a local network or the Internet (even over slow connection channels).")
#define MAIN_COMPONENTS_NOT_FOUND_LABEL _("Main components does not found. Proceed back to installation type selection page and use \"Select sources\" button from below")

@ -206,7 +206,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Size:</property> <property name="label" translatable="yes">Size:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -255,7 +255,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Part label:</property> <property name="label" translatable="yes">Part label:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -291,7 +291,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Encryption:</property> <property name="label" translatable="yes">Encryption:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -319,6 +319,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Encryption password:</property> <property name="label" translatable="yes">Encryption password:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -384,6 +385,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system type:</property> <property name="label" translatable="yes">File system type:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -396,6 +398,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="active">0</property> <property name="active">0</property>
<property name="has-entry">True</property>
<items> <items>
<item translatable="yes">Default</item> <item translatable="yes">Default</item>
</items> </items>
@ -411,7 +414,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system label:</property> <property name="label" translatable="yes">File system label:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -464,13 +467,6 @@
<widget name="FileSystemLabelEntry"/> <widget name="FileSystemLabelEntry"/>
</widgets> </widgets>
</object> </object>
<object class="GtkSizeGroup">
<widgets>
<widget name="box1"/>
<widget name="EncryptionCombo"/>
<widget name="FileSystemTypeCombo"/>
</widgets>
</object>
<object class="GtkSizeGroup"> <object class="GtkSizeGroup">
<widgets> <widgets>
<widget name="label1"/> <widget name="label1"/>

@ -22,7 +22,7 @@
<property name="receives-default">False</property> <property name="receives-default">False</property>
<property name="margin-start">5</property> <property name="margin-start">5</property>
<property name="margin-end">10</property> <property name="margin-end">10</property>
<property name="margin-top">5</property> <property name="margin-top">3</property>
<property name="margin-bottom">5</property> <property name="margin-bottom">5</property>
<property name="draw-indicator">True</property> <property name="draw-indicator">True</property>
<child> <child>
@ -111,6 +111,7 @@
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">5</property> <property name="spacing">5</property>
<child> <child>
@ -126,7 +127,7 @@
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
@ -154,6 +155,7 @@
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="spacing">5</property> <property name="spacing">5</property>
<child> <child>
<object class="GtkLabel"> <object class="GtkLabel">
@ -174,7 +176,6 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="use-markup">True</property> <property name="use-markup">True</property>
<property name="width-chars">15</property>
<property name="track-visited-links">False</property> <property name="track-visited-links">False</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
@ -195,6 +196,7 @@
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="spacing">5</property> <property name="spacing">5</property>
<child> <child>
<object class="GtkLabel" id="DescriptionLabel"> <object class="GtkLabel" id="DescriptionLabel">
@ -206,7 +208,7 @@
<property name="yalign">0</property> <property name="yalign">0</property>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
@ -301,6 +303,7 @@
</child> </child>
<style> <style>
<class name="bggrey"/> <class name="bggrey"/>
<class name="thin"/>
</style> </style>
</object> </object>
</child> </child>

@ -709,7 +709,8 @@
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property> <property name="halign">center</property>
<property name="valign">center</property>
<property name="margin-top">5</property> <property name="margin-top">5</property>
<property name="pixel-size">112</property> <property name="pixel-size">112</property>
<property name="icon-name">com.ublinux.ubinstall-gtk</property> <property name="icon-name">com.ublinux.ubinstall-gtk</property>
@ -741,6 +742,7 @@
<property name="margin-start">5</property> <property name="margin-start">5</property>
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="label" translatable="yes">Welcome</property> <property name="label" translatable="yes">Welcome</property>
<property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
</child> </child>
@ -770,6 +772,7 @@
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="label" translatable="yes">Licence <property name="label" translatable="yes">Licence
agreement</property> agreement</property>
<property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
</child> </child>
@ -797,6 +800,7 @@ agreement</property>
<property name="margin-start">5</property> <property name="margin-start">5</property>
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="label" translatable="yes">Preparation</property> <property name="label" translatable="yes">Preparation</property>
<property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
</child> </child>
@ -824,6 +828,7 @@ agreement</property>
<property name="margin-start">5</property> <property name="margin-start">5</property>
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="label" translatable="yes">Configuration</property> <property name="label" translatable="yes">Configuration</property>
<property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
</child> </child>
@ -851,6 +856,7 @@ agreement</property>
<property name="margin-start">5</property> <property name="margin-start">5</property>
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="label" translatable="yes">Installation</property> <property name="label" translatable="yes">Installation</property>
<property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
</child> </child>
@ -8034,6 +8040,7 @@ or continue working in the system Live environment.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Device label:</property> <property name="label" translatable="yes">Device label:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -8057,6 +8064,7 @@ or continue working in the system Live environment.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system type:</property> <property name="label" translatable="yes">File system type:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -8721,6 +8729,7 @@ or continue working in the system Live environment.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Size:</property> <property name="label" translatable="yes">Size:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -8764,6 +8773,7 @@ or continue working in the system Live environment.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Partition label:</property> <property name="label" translatable="yes">Partition label:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -8799,6 +8809,7 @@ or continue working in the system Live environment.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system type:</property> <property name="label" translatable="yes">File system type:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -9459,6 +9470,7 @@ or continue working in the system Live environment.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Partition label:</property> <property name="label" translatable="yes">Partition label:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -9482,6 +9494,7 @@ or continue working in the system Live environment.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system type:</property> <property name="label" translatable="yes">File system type:</property>
<property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -12065,7 +12078,7 @@ separately into the selected partition.</property>
<object class="GtkLabel" id="WelcomeTitleLabel24"> <object class="GtkLabel" id="WelcomeTitleLabel24">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">OS only</property> <property name="label" translatable="yes">System restore</property>
<property name="wrap">True</property> <property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<attributes> <attributes>
@ -12085,7 +12098,7 @@ separately into the selected partition.</property>
<object class="GtkLabel" id="WelcomeInfoLabel24"> <object class="GtkLabel" id="WelcomeInfoLabel24">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Installing only OS components without user data</property> <property name="label" translatable="yes">Restore missing or corrupted system files. Users data is not affected</property>
<property name="wrap">True</property> <property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<attributes> <attributes>
@ -12557,7 +12570,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Size:</property> <property name="label" translatable="yes">Size:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -12611,7 +12624,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Partition label:</property> <property name="label" translatable="yes">Partition label:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -12647,7 +12660,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system type:</property> <property name="label" translatable="yes">File system type:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -12684,7 +12697,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system label:</property> <property name="label" translatable="yes">File system label:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -12720,7 +12733,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Encryption:</property> <property name="label" translatable="yes">Encryption:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -12747,7 +12760,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Encryption password:</property> <property name="label" translatable="yes">Encryption password:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -13400,7 +13413,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Size:</property> <property name="label" translatable="yes">Size:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -13456,7 +13469,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Partition label:</property> <property name="label" translatable="yes">Partition label:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -13492,7 +13505,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system type:</property> <property name="label" translatable="yes">File system type:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -13523,7 +13536,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">File system label:</property> <property name="label" translatable="yes">File system label:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -13559,7 +13572,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Encryption:</property> <property name="label" translatable="yes">Encryption:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -13598,7 +13611,7 @@ separately into the selected partition.</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Encryption password:</property> <property name="label" translatable="yes">Encryption password:</property>
<property name="xalign">0</property> <property name="xalign">1</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

Loading…
Cancel
Save