Simple patch



Simple patch.

1. removed unnecessary include of "nautilus-sidebar-functions.h" in
"libnautilus-private/nautilus-global-preferences.c"

2. Removed the statusbar timeout that clears the statusbar.
In bug 96816, calum had mentioned that "any feature that depends on a
timeout has accessibility consequences, and should probably be fixed so
that the information only disappears in response to user action."

Note this is not a fix for that bug.

dave
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.5638
diff -u -r1.5638 ChangeLog
--- ChangeLog	31 Dec 2002 22:18:01 -0000	1.5638
+++ ChangeLog	6 Jan 2003 01:57:33 -0000
@@ -1,3 +1,11 @@
+2002-01-05 David Bordoley <bordoley msu edu>
+	
+	* src/nautilus-window.c
+	Removed statusbar timeout
+
+	*libnautilus-private/nautilus-global-preferences.c
+	Removed unnecessary include
+
 2002-12-31  Dave Camp  <dave ximian com>
 
 	* src/nautilus-file-management-properties.glade: Applied UI review 
Index: libnautilus-private/nautilus-global-preferences.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-global-preferences.c,v
retrieving revision 1.205
diff -u -r1.205 nautilus-global-preferences.c
--- libnautilus-private/nautilus-global-preferences.c	5 Nov 2002 18:34:24 -0000	1.205
+++ libnautilus-private/nautilus-global-preferences.c	6 Jan 2003 01:58:12 -0000
@@ -29,7 +29,6 @@
 #include "nautilus-file-utilities.h"
 #include "nautilus-file.h"
 #include "nautilus-icon-factory.h"
-#include "nautilus-sidebar-functions.h"
 #include <eel/eel-enumeration.h>
 #include <eel/eel-glib-extensions.h>
 #include <eel/eel-gtk-extensions.h>
Index: src/nautilus-window.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window.c,v
retrieving revision 1.402
diff -u -r1.402 nautilus-window.c
--- src/nautilus-window.c	5 Dec 2002 02:42:53 -0000	1.402
+++ src/nautilus-window.c	6 Jan 2003 01:58:27 -0000
@@ -87,7 +87,6 @@
  */
 #include "nautilus-desktop-window.h"
 
-#define STATUS_BAR_CLEAR_TIMEOUT 10000	/* milliseconds */
 #define MAX_HISTORY_ITEMS 50
 
 /* FIXME bugzilla.gnome.org 41245: hardwired sizes */
@@ -352,8 +351,6 @@
 
 	if (text != NULL && text[0] != '\0') {
 		bonobo_ui_component_set_status (window->details->status_ui, text, NULL);
-		window->status_bar_clear_id = g_timeout_add
-			(STATUS_BAR_CLEAR_TIMEOUT, nautilus_window_clear_status, window);
 	} else {
 		nautilus_window_clear_status (window);
 		window->status_bar_clear_id = 0;


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