summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-08-06 10:51:39 +0200
committerinfirit <[email protected]>2015-08-06 10:56:27 +0200
commit3fc68b481960ed6df3eed204eb2acb8a7c652d54 (patch)
tree66cecd27916dba36d3f96b12bcc69249e7796b72
parent16e125317b64a2bf8e1ff341c2fbd550b58e3588 (diff)
downloadmate-panel-3fc68b481960ed6df3eed204eb2acb8a7c652d54.tar.bz2
mate-panel-3fc68b481960ed6df3eed204eb2acb8a7c652d54.tar.xz
Gtk3: Set push_in to FALSE
We already do this for the same function in libmate-panel-applet. Thanks to luke on the forums. fixes #330
-rw-r--r--mate-panel/applet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-panel/applet.c b/mate-panel/applet.c
index 201459e7..d2d8e5d8 100644
--- a/mate-panel/applet.c
+++ b/mate-panel/applet.c
@@ -673,7 +673,11 @@ mate_panel_applet_position_menu (GtkMenu *menu,
*x = menu_x;
*y = menu_y;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ *push_in = FALSE;
+#else
*push_in = TRUE;
+#endif
}
static void