[nautilus] window: don't avoid same-uri reloads for the desktop
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: don't avoid same-uri reloads for the desktop
- Date: Wed, 6 Apr 2011 16:25:28 +0000 (UTC)
commit 13793fdc3f5fd884ff5f92093244157b751bd185
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Apr 6 12:23:57 2011 -0400
window: don't avoid same-uri reloads for the desktop
Otherwise it will not reload when toggling desktop-is-home-dir.
src/nautilus-window-manage-views.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index 74ca593..10a57ac 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -540,8 +540,9 @@ nautilus_window_slot_open_location_full (NautilusWindowSlot *slot,
}
}
- if ((target_window == window && target_slot == slot &&
- old_location && g_file_equal (old_location, location))) {
+ if (target_window == window && target_slot == slot &&
+ old_location && g_file_equal (old_location, location) &&
+ !is_desktop) {
if (callback != NULL) {
callback (window, NULL, user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]