summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <stefano@karapetsas.com>2014-10-14 08:47:00 +0200
committerStefano Karapetsas <stefano@karapetsas.com>2014-10-14 08:47:00 +0200
commit5130d8ed49b420e0d2c37c8e3b606e2306b356f8 (patch)
tree408f36bcb4357ceafc3ec465f08c683466b7fc14
parent469727d8d2f9dea7277b89c20bd4e1da0c2969f7 (diff)
downloadmate-panel-5130d8ed49b420e0d2c37c8e3b606e2306b356f8.tar.bz2
mate-panel-5130d8ed49b420e0d2c37c8e3b606e2306b356f8.tar.xz
Update visibility of menu bar on load
Closes https://github.com/mate-desktop/mate-panel/issues/245
-rw-r--r--mate-panel/panel-menu-bar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c
index f05dc894..172217aa 100644
--- a/mate-panel/panel-menu-bar.c
+++ b/mate-panel/panel-menu-bar.c
@@ -390,6 +390,7 @@ static void panel_menu_bar_load(PanelWidget* panel, gboolean locked, int positio
gtk_widget_set_can_focus(GTK_WIDGET(menubar), TRUE);
panel_widget_set_applet_expandable(panel, GTK_WIDGET(menubar), FALSE, TRUE);
+ panel_menu_bar_update_visibility(menubar->priv->settings, NULL, menubar);
}
void panel_menu_bar_load_from_gsettings (PanelWidget* panel, gboolean locked, int position, gboolean exactpos, const char* id)