[nautilus] Only sync the location bar on the affected pane
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Only sync the location bar on the affected pane
- Date: Wed, 16 Dec 2009 14:43:05 +0000 (UTC)
commit 8a0ca66f2c2d69cc50cdbcc319f80529b1b30d00
Author: Alexander Larsson <alexl redhat com>
Date: Wed Dec 16 14:34:36 2009 +0100
Only sync the location bar on the affected pane
src/nautilus-window-manage-views.c | 4 ++--
src/nautilus-window-slot.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index de2ee12..889f7a7 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -401,7 +401,7 @@ viewed_file_changed_callback (NautilusFile *file,
g_object_unref (slot->location);
slot->location = new_location;
if (slot == slot->pane->active_slot) {
- nautilus_window_sync_location_widgets (window);
+ nautilus_window_pane_sync_location_widgets (slot->pane);
}
} else {
/* TODO?
@@ -1659,7 +1659,7 @@ update_for_new_location (NautilusWindowSlot *slot)
nautilus_window_slot_update_icon (slot);
if (slot == slot->pane->active_slot) {
- nautilus_window_sync_location_widgets (window);
+ nautilus_window_pane_sync_location_widgets (slot->pane);
if (location_really_changed) {
nautilus_window_sync_search_widgets (window);
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index e6179c6..eb8d9b0 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -118,7 +118,7 @@ real_active (NautilusWindowSlot *slot)
nautilus_window_sync_allow_stop (window, slot);
nautilus_window_sync_title (window, slot);
nautilus_window_sync_zoom_widgets (window);
- nautilus_window_sync_location_widgets (window);
+ nautilus_window_pane_sync_location_widgets (slot->pane);
nautilus_window_sync_search_widgets (window);
if (slot->viewed_file != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]