Commit 715a6e81 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Never maximize windows opened from shell if a custom geometry has been

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.

svn path=/trunk/; revision=14169
parent d048e176
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.
2008-05-19 Cosimo Cecchi <cosimoc@gnome.org>
* src/file-manager/fm-icon-view.c:
......
......@@ -162,6 +162,10 @@ open_window (NautilusShell *shell, const char *uri, const char *startup_id,
}
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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment