## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
Index: gnome-panel/gnome-panel/panel-toplevel.c
===================================================================
--- gnome-panel.orig/gnome-panel/panel-toplevel.c	2012-12-03 23:45:17.737596000 +0200
+++ gnome-panel/gnome-panel/panel-toplevel.c	2012-12-03 23:54:46.288102218 +0200
@@ -4455,7 +4455,7 @@
 {
 	GdkScreen *screen = g_value_get_object (value);
 
-	if (!screen || GDK_IS_SCREEN (screen))
+	if (!screen || !GDK_IS_SCREEN (screen))
 		screen = gdk_screen_get_default ();
 
 	return g_variant_new ("i", gdk_screen_get_number (screen));
Index: gnome-panel/libpanel-applet/panel-applet.c
===================================================================
--- gnome-panel.orig/libpanel-applet/panel-applet.c	2012-12-03 23:45:17.737596000 +0200
+++ gnome-panel/libpanel-applet/panel-applet.c	2012-12-04 00:05:24.004103338 +0200
@@ -1141,6 +1141,8 @@
 	applet = PANEL_APPLET (widget);
 
 	screen = gtk_widget_get_screen (widget);
+	
+	gtk_menu_set_screen(menu, screen);
 
 	gtk_widget_get_preferred_size (GTK_WIDGET (menu), &requisition, NULL);
 	gdk_window_get_origin (gtk_widget_get_window (widget),
