[PATCH] always show statusbar for spatial windows



Hi,

The attached patch fixes 138967 (don't let the nav window's statusbar
pref affect spatial windows).

James
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.6165
diff -u -r1.6165 ChangeLog
--- ChangeLog	7 Apr 2004 17:22:26 -0000	1.6165
+++ ChangeLog	8 Apr 2004 19:08:42 -0000
@@ -1,3 +1,10 @@
+2004-04-08  James Willcox  <jwillcox gnome org>
+
+	* src/nautilus-window.c: (nautilus_window_show):
+
+        Always show the status bar if the window is a spatial one.
+	Fixes 138967.
+
 2004-04-07  Alexander Larsson  <alexl redhat com>
 
 	* libnautilus-private/nautilus-program-choosing.c:
Index: src/nautilus-window.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window.c,v
retrieving revision 1.431
diff -u -r1.431 nautilus-window.c
--- src/nautilus-window.c	7 Apr 2004 10:54:26 -0000	1.431
+++ src/nautilus-window.c	8 Apr 2004 19:08:42 -0000
@@ -1355,7 +1355,7 @@
 
 	GTK_WIDGET_CLASS (parent_class)->show (widget);
 
-	if (eel_preferences_get_boolean (NAUTILUS_PREFERENCES_START_WITH_STATUS_BAR)) {
+	if (eel_preferences_get_boolean (NAUTILUS_PREFERENCES_START_WITH_STATUS_BAR) || NAUTILUS_IS_SPATIAL_WINDOW (window)) {
 		nautilus_window_show_status_bar (window);
 	} else {
 		nautilus_window_hide_status_bar (window);


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