diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-04-12 14:29:27 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-04-12 16:25:52 +0200 |
commit | f31dbd1ac89351a4690862b03560cc8f6e4aae2f (patch) | |
tree | e9e4d900f5b2a6641dace1246825c3af7fbd78ad | |
parent | 9d7b8028e8b9cf5e908c54e9783e94d09c4317de (diff) | |
download | nautilus-f31dbd1ac89351a4690862b03560cc8f6e4aae2f.tar.gz |
window: use target_slot, not active slot
Since that's the one we are going to use.
-rw-r--r-- | src/nautilus-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c index 5c170f5f7..20230f843 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c @@ -616,7 +616,7 @@ nautilus_window_open_location_full (NautilusWindow *window, if (!target_slot) target_slot = active_slot; - if (target_slot == NULL || !nautilus_window_slot_handles_location (active_slot, location)) { + if (target_slot == NULL || !nautilus_window_slot_handles_location (target_slot, location)) { target_slot = nautilus_window_create_slot (window, location); nautilus_window_initialize_slot (window, target_slot, flags); if (active_slot) { |