summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin <[email protected]>2017-04-03 18:31:31 +0300
committerlukefromdc <[email protected]>2017-04-10 17:55:13 -0400
commitbe71ad60d8b05fe0b4f8ac409122ee905a1a4e28 (patch)
treed3daf5603ffe9bb5395113d89a9a7adb77e48cd2
parent93f73619bbd76dce14c3b2df9756ad59136b8223 (diff)
downloadmate-panel-be71ad60d8b05fe0b4f8ac409122ee905a1a4e28.tar.bz2
mate-panel-be71ad60d8b05fe0b4f8ac409122ee905a1a4e28.tar.xz
Fixes #549
-rw-r--r--mate-panel/panel-menu-bar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c
index fbc759d7..629534d2 100644
--- a/mate-panel/panel-menu-bar.c
+++ b/mate-panel/panel-menu-bar.c
@@ -339,6 +339,7 @@ static gboolean panel_menu_bar_on_draw (GtkWidget* widget, cairo_t* cr, gpointer
static void panel_menu_bar_load(PanelWidget* panel, gboolean locked, int position, gboolean exactpos, const char* id)
{
PanelMenuBar* menubar;
+ GtkSettings* settings;
g_return_if_fail (panel != NULL);
@@ -351,6 +352,8 @@ static void panel_menu_bar_load(PanelWidget* panel, gboolean locked, int positio
gtk_widget_destroy(GTK_WIDGET(menubar));
return;
}
+ settings = gtk_settings_get_for_screen(gtk_widget_get_screen(panel));
+ g_object_set(settings,"gtk-shell-shows-app-menu",FALSE,"gtk-shell-shows-menubar",FALSE,NULL);
mate_panel_applet_add_callback(menubar->priv->info, "help", GTK_STOCK_HELP, _("_Help"), NULL);