nautilus r14170 - in branches/gnome-2-22: . src



Author: cneumair
Date: Mon May 19 12:04:20 2008
New Revision: 14170
URL: http://svn.gnome.org/viewvc/nautilus?rev=14170&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:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/nautilus-shell.c

Modified: branches/gnome-2-22/src/nautilus-shell.c
==============================================================================
--- branches/gnome-2-22/src/nautilus-shell.c	(original)
+++ branches/gnome-2-22/src/nautilus-shell.c	Mon May 19 12:04:20 2008
@@ -163,6 +163,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]