Updating branch refs/heads/master
to a406ed5311bbe0929b949f28f0f9afeb398b4f4e (commit)
from ac4c4e70e7312d133ae3a6885412aa41d9fb11cf (commit)
commit a406ed5311bbe0929b949f28f0f9afeb398b4f4e
Author: Andrzej <[email protected]>
Date: Mon Apr 22 23:41:28 2013 +0100
xfce4-panel lib: workaround for ctx menus with scroll buttons.
libxfce4panel/xfce-panel-plugin.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/libxfce4panel/xfce-panel-plugin.c
b/libxfce4panel/xfce-panel-plugin.c
index 1e5933e..df417fe 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -2589,8 +2589,15 @@ xfce_panel_plugin_position_menu (GtkMenu *menu,
xfce_panel_plugin_position_widget (XFCE_PANEL_PLUGIN (panel_plugin),
GTK_WIDGET (menu), attach_widget, x, y);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ /* FIXME */
+ /* A workaround for Gtk3 popup menus with scroll buttons */
+ /* Menus are "pushed in" anyway */
+ *push_in = FALSE;
+#else
/* keep the menu inside screen */
*push_in = TRUE;
+#endif
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits