[gnome-panel/wip/gnome-3.10+: 73/75] fish: update fish widget after it is setup
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/gnome-3.10+: 73/75] fish: update fish widget after it is setup
- Date: Tue, 7 Oct 2014 22:32:08 +0000 (UTC)
commit 873b2568be313732dfc4e55c1ec40933694fd9c9
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Sep 24 18:21:28 2014 +0300
fish: update fish widget after it is setup
applets/fish/fish.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index 6f61b0d..da7e277 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -1454,11 +1454,6 @@ fish_applet_fill (FishApplet *fish)
fish->settings = panel_applet_settings_new (applet, FISH_SCHEMA);
fish->lockdown_settings = g_settings_new (LOCKDOWN_SCHEMA);
- g_signal_connect (fish->settings, "changed",
- G_CALLBACK (fish_applet_settings_changed), fish);
- /* NULL means we will update for all settings */
- fish_applet_settings_changed (fish->settings, NULL, fish);
-
action_group = g_simple_action_group_new ();
g_action_map_add_action_entries (G_ACTION_MAP (action_group),
fish_menu_actions,
@@ -1481,6 +1476,10 @@ fish_applet_fill (FishApplet *fish)
setup_fish_widget (fish);
+ g_signal_connect (fish->settings, "changed",
+ G_CALLBACK (fish_applet_settings_changed), fish);
+ fish_applet_settings_changed (fish->settings, NULL, fish);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]