From 2cf900ff06ac0124c6765f2fdf29f9e6677e3192 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 16 Sep 2025 18:03:02 +0600 Subject: [PATCH] Fixes --- source/ubinstall-gtk-page-switch.c | 5 - source/ubinstall-gtk.c | 1 - source/ubinstall-gtk.h | 2 - ubinstall-gtk.glade | 156 ++++++++++++----------------- 4 files changed, 66 insertions(+), 98 deletions(-) diff --git a/source/ubinstall-gtk-page-switch.c b/source/ubinstall-gtk-page-switch.c index 2579b4b..b13fbd6 100644 --- a/source/ubinstall-gtk-page-switch.c +++ b/source/ubinstall-gtk-page-switch.c @@ -290,11 +290,6 @@ void yon_configuration_mode_check(main_window *widgets){ } else { gtk_widget_set_sensitive(widgets->ConfigurationModeMenuItem,0); } - if (page == YON_PAGE_CONFIGURE_END){ - gtk_widget_show(widgets->SaveButton); - } else { - gtk_widget_hide(widgets->SaveButton); - } } void yon_page_update(main_window *widgets){ diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 8410e50..651b32e 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -403,7 +403,6 @@ main_window *yon_main_window_complete(){ widgets->DocumentationMenuItem = yon_ubl_menu_item_documentation_new(DOCUMENTATION_LABEL); widgets->AboutMenuItem = yon_ubl_menu_item_about_new(ABOUT_LABEL); - widgets->SaveButton = yon_gtk_builder_get_widget(builder,"SaveButton"); widgets->LoadGlobalConfigurationMenuItem = yon_gtk_builder_get_widget(builder,"LoadGlobalConfigurationMenuItem"); widgets->LoadLocalConfigurationMenuItem = yon_gtk_builder_get_widget(builder,"LoadLocalConfigurationMenuItem"); diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h index b3b14a4..e8d153b 100755 --- a/source/ubinstall-gtk.h +++ b/source/ubinstall-gtk.h @@ -418,8 +418,6 @@ typedef struct { GtkWidget *SaveLocalConfigurationMenuItem; GtkWidget *SaveExternalConfigurationMenuItem; - GtkWidget *SaveButton; - GtkWidget *MainWindow; GtkWidget *StartScenarioButton; diff --git a/ubinstall-gtk.glade b/ubinstall-gtk.glade index 14103c6..1ed2597 100644 --- a/ubinstall-gtk.glade +++ b/ubinstall-gtk.glade @@ -273,11 +273,26 @@ False com.ublinux.libublsettingsui-gtk3.increase-symbolic + + True + False + com.ublinux.libublsettingsui-gtk3.fork-symbolic + True False com.ublinux.libublsettingsui-gtk3.sync-symbolic + + True + False + com.ublinux.libublsettingsui-gtk3.flag-symbolic + + + True + False + com.ublinux.libublsettingsui-gtk3.flag-finish-symbolic + True False @@ -383,54 +398,6 @@ - - True - False - False - - - True - False - Save configuration - - - - - - True - False - Save to global configuration - - - - - - True - False - Save to local configuration - - - - - - True - False - Save to specific file - - - - - 800 500 @@ -10512,6 +10479,7 @@ separately into the selected partition. Start installation scenario True True + image27 False @@ -10524,6 +10492,7 @@ separately into the selected partition. Source True True + image25 False @@ -10536,6 +10505,7 @@ separately into the selected partition. Skip installation True True + image28 False @@ -10651,49 +10621,55 @@ separately into the selected partition. 1 - - - True - False - True - menu3 - - - True - False - - - True - False - Save - - - False - True - 0 - - - - - True - False - pan-down-symbolic - - - False - True - 1 - - - - - - - end - 2 - - + + True + False + False + + + True + False + Save configuration + + + + + + True + False + Save to global configuration + + + + + + True + False + Save to local configuration + + + + + + True + False + Save to specific file + + + + +