From bdec351588a1210ea06264c9b1612383010576aa Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 13 Dec 2024 17:28:19 +0600 Subject: [PATCH] Update tab interface changes --- source/ubl-settings-update.c | 3 +- source/ubl-strings.h | 1 + ubl-settings-update-mirror-path-add.glade | 12 ++- ubl-settings-update-repo-add.glade | 68 +++++++---------- ubl-settings-update.glade | 92 +++++++++++++++-------- ubl-settings-update.pot | 4 + ubl-settings-update_ru.po | 4 + 7 files changed, 109 insertions(+), 75 deletions(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 556beaa..06991d7 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -1396,7 +1396,7 @@ repo_add_window *yon_repo_add_window_new(){ g_signal_connect(G_OBJECT(window->UsageDefaultCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button_inversed),window->UsageEnableSearchCheck); g_signal_connect(G_OBJECT(window->UsageDefaultCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button_inversed),window->UsageEnableUpdateCheck); g_signal_connect(G_OBJECT(window->UsageDefaultCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button_inversed),window->UsageSysupgradeCheck); - g_signal_connect(G_OBJECT(window->SourceListBox),"size-allocate",G_CALLBACK(on_scrolled_window_size_allocate),window); + // g_signal_connect(G_OBJECT(window->SourceListBox),"size-allocate",G_CALLBACK(on_scrolled_window_size_allocate),window); gtk_widget_show(window->Window); gtk_label_set_text(GTK_LABEL(window->SignLevelLabel),SIGN_LEVEL_LABEL); @@ -1625,6 +1625,7 @@ void yon_main_window_complete(main_window *widgets){ g_signal_connect(G_OBJECT(widgets->PublicationCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button),widgets->PublicationUpdateButton); g_signal_connect(G_OBJECT(widgets->UpdateIntervalDefaultCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button_inversed),widgets->UpdateIntervalCombo); g_signal_connect(G_OBJECT(widgets->UpdateIntervalDefaultCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button_inversed),widgets->UpdateIntervalSpin); + g_signal_connect(G_OBJECT(widgets->UpdateIntervalDefaultCheck),"toggled",G_CALLBACK(yon_gtk_widget_set_sensitive_from_toggle_button_inversed),widgets->BootCheck); g_signal_connect(G_OBJECT(widgets->BootCheck),"toggled",G_CALLBACK(on_toggle_button_toggled),widgets); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 01f71f3..d36784d 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -39,6 +39,7 @@ mirrorlist - mirrors file, make sure server URL is NOT included in this file! Si \t- PackageTrustAll - If signature is verified only for packages\n\ \t- DatabaseTrustAll - If signature is verified only for database\n") /* + #define _LABEL _("every") #define _LABEL _("Resource link of file path") #define _LABEL _("Open file explorer") #define _LABEL _("Add source") diff --git a/ubl-settings-update-mirror-path-add.glade b/ubl-settings-update-mirror-path-add.glade index 36a0308..bc6bbf8 100644 --- a/ubl-settings-update-mirror-path-add.glade +++ b/ubl-settings-update-mirror-path-add.glade @@ -38,12 +38,22 @@ 0 + + + True + False + + + False + True + 0 + + True True False - False False