nautilus r14169 - in trunk: . src



Author: cneumair
Date: Mon May 19 12:03:22 2008
New Revision: 14169
URL: http://svn.gnome.org/viewvc/nautilus?rev=14169&view=rev

Log:
2008-05-19  Christian Neumair  <cneumair gnome org>

	* src/nautilus-shell.c (open_window):
	Never maximize windows opened from shell if a custom geometry has been
	specified. Fixes #92566.


Modified:
   trunk/ChangeLog
   trunk/src/nautilus-shell.c

Modified: trunk/src/nautilus-shell.c
==============================================================================
--- trunk/src/nautilus-shell.c	(original)
+++ trunk/src/nautilus-shell.c	Mon May 19 12:03:22 2008
@@ -162,6 +162,10 @@
 	}
 	
 	if (geometry != NULL && !GTK_WIDGET_VISIBLE (window)) {
+		/* never maximize windows opened from shell if a
+		 * custom geometry has been requested.
+		 */
+		gtk_window_unmaximize (GTK_WINDOW (window));
 		eel_gtk_window_set_initial_geometry_from_string (GTK_WINDOW (window),
 								 geometry,
 								 APPLICATION_WINDOW_MIN_WIDTH,



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