summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-12-14 11:17:10 +0100
committerAlexander Larsson <alexl@redhat.com>2009-12-14 11:17:10 +0100
commitee66bca8b74b1530e29414ef226e12157e92d9b7 (patch)
treeeec6c390a95648eb445df23b29cc1a47dcb7d645 /src
parent53ae0522ab2ee458eb8235beaf6c8e3afefe49b6 (diff)
downloadnautilus-ee66bca8b74b1530e29414ef226e12157e92d9b7.tar.gz
Make slot label/icon update work right
We move the update calls to a bit later when all the slot-internal state (like slot->location, etc) has been updated.
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-window-manage-views.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index 6b85a3394..de2ee1238 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -147,9 +147,6 @@ set_displayed_location (NautilusWindowSlot *slot, GFile *location)
: nautilus_bookmark_new (location, name);
g_free (name);
}
-
- nautilus_window_slot_update_title (slot);
- nautilus_window_slot_update_icon (slot);
}
static void
@@ -1658,6 +1655,9 @@ update_for_new_location (NautilusWindowSlot *slot)
slot_add_extension_extra_widgets (slot);
}
+ nautilus_window_slot_update_title (slot);
+ nautilus_window_slot_update_icon (slot);
+
if (slot == slot->pane->active_slot) {
nautilus_window_sync_location_widgets (window);