diff options
author | Gert Wollny <[email protected]> | 2014-09-18 15:17:05 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2014-09-18 15:17:05 +0200 |
commit | 3f67cbdfeaa53820ed690dd25f52dc162e7511e2 (patch) | |
tree | e5e69986fb46f69ddc85fdfa37039c590a18865c | |
parent | 835dbc1cdb8848e3f9651ea497e89b77493ce1d9 (diff) | |
download | mate-panel-3f67cbdfeaa53820ed690dd25f52dc162e7511e2.tar.bz2 mate-panel-3f67cbdfeaa53820ed690dd25f52dc162e7511e2.tar.xz |
Set screen of context menu also in gtk2 code path Closes: #234
-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 788cd964..fa40c649 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -814,10 +814,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); |