[nautilus/origin/wip/desktop-split-nofonclicts: 17/26] window: use target_slot, not active slot



commit f31dbd1ac89351a4690862b03560cc8f6e4aae2f
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Apr 12 14:29:27 2016 +0200

    window: use target_slot, not active slot
    
    Since that's the one we are going to use.

 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 5c170f5..20230f8 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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]