[nautilus] slot: don't forget to update title for non-active slots



commit 2ce7cd67ef76079cf3634a5d5548be29f7eb2e64
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Feb 17 14:10:02 2014 -0800

    slot: don't forget to update title for non-active slots
    
    Otherwise we'll leave the old title behind on e.g. window tabs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722105

 src/nautilus-window-slot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 922ee7e..1d38503 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -988,9 +988,9 @@ nautilus_window_slot_set_location (NautilusWindowSlot *slot,
 
        if (slot == nautilus_window_get_active_slot (slot->details->window)) {
                nautilus_window_sync_location_widgets (slot->details->window);
-               nautilus_window_slot_update_title (slot);
        }
 
+       nautilus_window_slot_update_title (slot);
        nautilus_window_slot_emit_location_change (slot, old_location, location);
 
        if (old_location) {


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