diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-12-10 11:38:06 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-12-10 18:06:35 +0100 |
commit | 6fc12915c7e3b8e92696630117afb5d5f5aaf60c (patch) | |
tree | 75ceb1c841125012bbcad87be8695d10437e8324 /src/nautilus-window-manage-views.c | |
parent | e1fe45ddde92aece9aafdeb2febcfe76178e48b1 (diff) | |
download | nautilus-6fc12915c7e3b8e92696630117afb5d5f5aaf60c.tar.gz |
Move location from toolbar to pane widget
Diffstat (limited to 'src/nautilus-window-manage-views.c')
-rw-r--r-- | src/nautilus-window-manage-views.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c index 03efe07fd..19d525ce9 100644 --- a/src/nautilus-window-manage-views.c +++ b/src/nautilus-window-manage-views.c @@ -298,22 +298,22 @@ handle_go_elsewhere (NautilusWindowSlot *slot, GFile *location) void nautilus_window_update_up_button (NautilusWindow *window) { - NautilusWindowSlot *slot; - gboolean allowed; - GFile *parent; - - slot = window->details->active_pane->active_slot; - - allowed = FALSE; - if (slot->location != NULL) { - parent = g_file_get_parent (slot->location); - allowed = parent != NULL; - if (parent != NULL) { - g_object_unref (parent); + NautilusWindowSlot *slot; + gboolean allowed; + GFile *parent; + + slot = window->details->active_pane->active_slot; + + allowed = FALSE; + if (slot->location != NULL) { + parent = g_file_get_parent (slot->location); + allowed = parent != NULL; + if (parent != NULL) { + g_object_unref (parent); } - } + } - nautilus_window_allow_up (window, allowed); + nautilus_window_allow_up (window, allowed); } static void |