Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 523162
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
In a dual-head setup with separeate screens the config menu 
In a dual-head setup with separeate screens the config menu 
1
appeared on screen 0 also for applets running on sereen 1. 
1
appeared on screen 0 also for applets running on sereen 1. 
2
This patch corrects this by setting the screen apropriately. 
2
This patch corrects this by setting the screen apropriately. 
3
-- mate-panel-1.8.0+dfsg1.orig/libmate-panel-applet/mate-panel-applet.c
3
++ mate-panel-1.8.0+dfsg1/libmate-panel-applet/mate-panel-applet.c
Lines 815-824 mate_panel_applet_position_menu (GtkMenu Link Here
815
815
816
#if GTK_CHECK_VERSION (3, 0, 0)
816
#if GTK_CHECK_VERSION (3, 0, 0)
817
	screen = gtk_widget_get_screen (widget);
817
	screen = gtk_widget_get_screen (widget);
818
	gtk_menu_set_screen (menu, screen);
819
#else
818
#else
820
	screen = gtk_window_get_screen (GTK_WINDOW (applet->priv->plug));
819
	screen = gtk_window_get_screen (GTK_WINDOW (applet->priv->plug));
821
#endif
820
#endif
821
	gtk_menu_set_screen (menu, screen);
822
822
823
#if GTK_CHECK_VERSION (3, 0, 0)
823
#if GTK_CHECK_VERSION (3, 0, 0)
824
	gtk_widget_get_preferred_size (GTK_WIDGET (menu), &requisition, NULL);
824
	gtk_widget_get_preferred_size (GTK_WIDGET (menu), &requisition, NULL);

Return to bug 523162