[gnome-panel] Show icon in menu bar by default
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] Show icon in menu bar by default
- Date: Mon, 27 Oct 2014 16:23:16 +0000 (UTC)
commit 6bccf9f47d9472e4ab24ec5c5fb628ed78bf4527
Author: Balló György <ballogyor gmail com>
Date: Wed Oct 15 23:23:57 2014 +0200
Show icon in menu bar by default
Can be hide with "-PanelMenuBar-icon-visible: false;" set for PanelMenuBar.
gnome-panel/panel-menu-bar.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-menu-bar.c b/gnome-panel/panel-menu-bar.c
index 3aeb43a..0434a62 100644
--- a/gnome-panel/panel-menu-bar.c
+++ b/gnome-panel/panel-menu-bar.c
@@ -192,7 +192,7 @@ panel_menu_bar_class_init (PanelMenuBarClass *klass)
g_param_spec_boolean ("icon-visible",
"Icon visible",
"Whether the menubar icon is visible",
- FALSE,
+ TRUE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
}
@@ -225,6 +225,8 @@ panel_menu_bar_load (PanelWidget *panel,
panel_lockdown_get_not_panels_locked_down_s);
}
+ panel_menu_bar_style_updated (menubar);
+
panel_menu_bar_object_object_load_finish (PANEL_MENU_BAR_OBJECT (menubar),
panel);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]