[nautilus] desktop-window: always reset is_loaded when setting the real directory
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] desktop-window: always reset is_loaded when setting the real directory
- Date: Wed, 6 Apr 2011 16:25:23 +0000 (UTC)
commit 90b2084cf3f6be689b250ddfd318e33f19f8420d
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]