[gnome-applets] gweather: allow to disable radar map
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] gweather: allow to disable radar map
- Date: Sun, 21 Mar 2021 17:48:34 +0000 (UTC)
commit 49c3be900e9bcc50cb172fb6c1c3ca03d7c6e701
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 21 18:51:23 2021 +0200
gweather: allow to disable radar map
gnome-applets/gweather/gweather-pref.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-applets/gweather/gweather-pref.c b/gnome-applets/gweather/gweather-pref.c
index 419359ef9..5e096547e 100644
--- a/gnome-applets/gweather/gweather-pref.c
+++ b/gnome-applets/gweather/gweather-pref.c
@@ -444,8 +444,8 @@ radar_toggled (GtkToggleButton *button, GWeatherPref *pref)
toggled = gtk_toggle_button_get_active(button);
- if (toggled)
- g_settings_set_boolean (gw_applet->applet_settings, "enable-radar-map", toggled);
+ g_settings_set_boolean (gw_applet->applet_settings, "enable-radar-map", toggled);
+
gtk_widget_set_sensitive (pref->basic_radar_url_btn, toggled);
if (toggled == FALSE || gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (pref->basic_radar_url_btn)) ==
TRUE)
gtk_widget_set_sensitive (pref->basic_radar_url_hbox, toggled);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]