diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 2e919df..e31e9bd 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -49,7 +49,7 @@ void on_toggle_button_toggled(GtkWidget *self, main_window *widgets){ break; } - } else if (self == widgets->UpdateIntervalDefaultCheck){ + } else if (self == widgets->UpdateIntervalDefaultCheck||self == widgets->UpdateIntervalSpin|| self == widgets->UpdateIntervalCombo || self == widgets->BootCheck){ if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->UpdateIntervalDefaultCheck))){ yon_config_remove_by_key(AUTOUPDATE_interval); } else { @@ -1613,6 +1613,9 @@ void yon_main_window_complete(main_window *widgets){ 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->BootCheck),"toggled",G_CALLBACK(on_toggle_button_toggled),widgets); + g_signal_connect(G_OBJECT(widgets->UpdateIntervalSpin),"changed",G_CALLBACK(on_toggle_button_toggled),widgets); + g_signal_connect(G_OBJECT(widgets->UpdateIntervalCombo),"changed",G_CALLBACK(on_toggle_button_toggled),widgets); g_signal_connect(G_OBJECT(widgets->AutoUpdateCheck),"toggled",G_CALLBACK(on_toggle_button_toggled),widgets); g_signal_connect(G_OBJECT(widgets->UpdateModeCombo),"changed",G_CALLBACK(on_toggle_button_toggled),widgets); g_signal_connect(G_OBJECT(widgets->UpdateIntervalDefaultCheck),"toggled",G_CALLBACK(on_toggle_button_toggled),widgets); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index eb82f3a..6c34f08 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -23,7 +23,9 @@ Configuration - configuration path") #define MIRROR_TOOLTIP_LABEL _("url - web-link for repository. It is allowed to write multiple, separating with comma (,)\n\ http_proxy - proxy-server for repository, replaces 'http_proxy'. Single parameter per repository\n\ mirrorlist - mirrors file, make sure server URL is NOT included in this file! Single parameter per repository") - /* + // /* + #define _LABEL _("Open file explorer") + #define _LABEL _("Add source") #define _LABEL _("Username") #define _LABEL _("User password") #define _LABEL _("Storage path to publish") diff --git a/ubl-settings-update-repo-add.glade b/ubl-settings-update-repo-add.glade index 074e3e7..fcc0678 100644 --- a/ubl-settings-update-repo-add.glade +++ b/ubl-settings-update-repo-add.glade @@ -190,6 +190,7 @@ Configuration - configuration path True True True + Open file explorer image1