[nautilus] Make slot label/icon update work right
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Make slot label/icon update work right
- Date: Mon, 14 Dec 2009 13:13:41 +0000 (UTC)
commit ee66bca8b74b1530e29414ef226e12157e92d9b7
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 14 11:17:10 2009 +0100
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.
src/nautilus-window-manage-views.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index 6b85a33..de2ee12 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]