[nautilus] Really open in new window on the pathbar contect menu item



commit e9a7007284b9520855cdbb16fa4724ca0f1739d9
Author: Alexander Larsson <alexl redhat com>
Date:   Wed May 4 10:11:17 2011 +0200

    Really open in new window on the pathbar contect menu item
    
    Turns out that we didn't pass the NEW_WINDOW flag in the handler
    for the LocationOpenAlternate action. This is used when right-clicking
    on the location label or the pathbar.

 src/nautilus-view.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 09e439f..f5e727b 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -6769,10 +6769,9 @@ action_location_open_alternate_callback (GtkAction *action,
 	if (file == NULL) {
 		return;
 	}
-
 	nautilus_view_activate_file (view,
 				     file,
-				     0);
+				     NAUTILUS_WINDOW_OPEN_FLAG_NEW_WINDOW);
 }
 
 static void



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