diff options
author | Gert Wollny <[email protected]> | 2014-09-18 15:17:05 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-09-20 16:32:36 +0200 |
commit | 4566a3a0b7a0090403e592a57c764c930d89e2fe (patch) | |
tree | f858116ae6aec839e776676345ea3d4ca82eeb3d /libmate-panel-applet | |
parent | 274f48b7ab430cf0b911869f8475e8f46cf84dce (diff) | |
download | mate-panel-4566a3a0b7a0090403e592a57c764c930d89e2fe.tar.bz2 mate-panel-4566a3a0b7a0090403e592a57c764c930d89e2fe.tar.xz |
Set screen of context menu also in gtk2 code path Closes: #234
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index c11ac37a..64f93bb5 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -815,10 +815,10 @@ mate_panel_applet_position_menu (GtkMenu *menu, #if GTK_CHECK_VERSION (3, 0, 0) screen = gtk_widget_get_screen (widget); - gtk_menu_set_screen (menu, screen); #else screen = gtk_window_get_screen (GTK_WINDOW (applet->priv->plug)); #endif + gtk_menu_set_screen (menu, screen); #if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_get_preferred_size (GTK_WIDGET (menu), &requisition, NULL); |