[nautilus] Update location for all active slots
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Update location for all active slots
- Date: Fri, 11 Dec 2009 15:54:11 +0000 (UTC)
commit fb87db4e78a494623921a1ad844b86448965a924
Author: Alexander Larsson <alexl redhat com>
Date: Fri Dec 11 16:38:26 2009 +0100
Update location for all active slots
When the location changes for a slot we should update it if its
the active slot in its pane (since each pane has a location bar),
not only if its in the active pane.
src/nautilus-window-manage-views.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index 19d525c..6c68ca6 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -403,7 +403,7 @@ viewed_file_changed_callback (NautilusFile *file,
slot->location)) {
g_object_unref (slot->location);
slot->location = new_location;
- if (slot == window->details->active_pane->active_slot) {
+ if (slot == slot->pane->active_slot) {
nautilus_window_sync_location_widgets (window);
}
} else {
@@ -1645,7 +1645,7 @@ update_for_new_location (NautilusWindowSlot *slot)
slot_add_extension_extra_widgets (slot);
}
- if (slot == window->details->active_pane->active_slot) {
+ if (slot == slot->pane->active_slot) {
nautilus_window_sync_location_widgets (window);
if (location_really_changed) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]