From be71ad60d8b05fe0b4f8ac409122ee905a1a4e28 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Mon, 3 Apr 2017 18:31:31 +0300 Subject: Fixes #549 --- mate-panel/panel-menu-bar.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.1