[nautilus/gnome-3-0] desktop-window: always reset is_loaded when setting the real directory



commit cf88359e8797ca21c092628c578b0b6e7022994f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 6 12:18:18 2011 -0400

    desktop-window: always reset is_loaded when setting the real directory

 src/nautilus-desktop-window.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-desktop-window.c b/src/nautilus-desktop-window.c
index 20c81f3..9e9acd9 100644
--- a/src/nautilus-desktop-window.c
+++ b/src/nautilus-desktop-window.c
@@ -119,9 +119,10 @@ void
 nautilus_desktop_window_update_directory (NautilusDesktopWindow *window)
 {
 	GFile *location;
-	
+
 	g_assert (NAUTILUS_IS_DESKTOP_WINDOW (window));
-	
+
+	window->details->loaded = FALSE;
 	location = g_file_new_for_uri (EEL_DESKTOP_URI);
 	nautilus_window_go_to (NAUTILUS_WINDOW (window), location);
 	window->details->loaded = TRUE;



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