[nautilus] window: use target_slot, not active slot
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: use target_slot, not active slot
- Date: Thu, 14 Apr 2016 08:51:35 +0000 (UTC)
commit 9ed7dcab2fd516739549429d46cb8844941a574e
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.
https://bugzilla.gnome.org/show_bug.cgi?id=712620
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]