[nautilus] Remove unnecessary check
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Remove unnecessary check
- Date: Wed, 16 Dec 2009 14:43:40 +0000 (UTC)
commit 096453c004a2538b816046b0388d6cfb60b618b2
Author: Alexander Larsson <alexl redhat com>
Date: Wed Dec 16 15:41:33 2009 +0100
Remove unnecessary check
src/nautilus-window-manage-views.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index c123c7f..66a5649 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -1601,10 +1601,9 @@ update_for_new_location (NautilusWindowSlot *slot)
if (slot == window->details->active_pane->active_slot) {
/* Check if we can go up. */
nautilus_window_update_up_button (window);
- }
- if (slot == window->details->active_pane->active_slot) {
nautilus_window_sync_zoom_widgets (window);
+
/* Set up the content view menu for this new location. */
nautilus_window_load_view_as_menus (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]