gnome-main-menu r469 - in trunk: . main-menu/src



Author: federico
Date: Fri Jun 13 10:17:29 2008
New Revision: 469
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=469&view=rev

Log:
bnc336735 - Set the screen of the slab_window
2008-06-13  Federico Mena Quintero  <federico novell com>

	https://bugzilla.novell.com/show_bug.cgi?id=336735 - On
	multiscreen setups, the slab window may appear ona the wrong
	screen.

	* main-menu/src/main-menu-ui.c (present_slab_window): Set the
	screen of the slab_window to the same screen as the one for the
	applet widget.

Signed-off-by: Federico Mena Quintero <federico novell com>


Modified:
   trunk/ChangeLog
   trunk/main-menu/src/main-menu-ui.c

Modified: trunk/main-menu/src/main-menu-ui.c
==============================================================================
--- trunk/main-menu/src/main-menu-ui.c	(original)
+++ trunk/main-menu/src/main-menu-ui.c	Fri Jun 13 10:17:29 2008
@@ -1857,6 +1857,7 @@
 
 	update_recently_used_sections (this);
 
+	gtk_window_set_screen (GTK_WINDOW (priv->slab_window), gtk_widget_get_screen (GTK_WIDGET (priv->panel_applet)));
 	gtk_window_present_with_time (GTK_WINDOW (priv->slab_window), gtk_get_current_event_time ());
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]