[nautilus] application: fix thinko



commit 183d8abb5c2915e535048301296c41e2e024d668
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Mar 15 10:30:05 2016 +0100

    application: fix thinko

 src/nautilus-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 803d181..1278b6a 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -405,7 +405,7 @@ nautilus_application_open_location_full (NautilusApplication     *application,
 
        /* close the current window if the flags say so */
        if ((flags & NAUTILUS_WINDOW_OPEN_FLAG_CLOSE_BEHIND) != 0) {
-               if (NAUTILUS_IS_DESKTOP_WINDOW (active_window)) {
+               if (!NAUTILUS_IS_DESKTOP_WINDOW (active_window)) {
                        if (gtk_widget_get_visible (GTK_WIDGET (target_window))) {
                                nautilus_window_close (active_window);
                        } else {


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