nautilus r14305 - in branches/multiview: . src



Author: cneumair
Date: Sun Jun 29 11:59:59 2008
New Revision: 14305
URL: http://svn.gnome.org/viewvc/nautilus?rev=14305&view=rev

Log:
2008-06-29  Christian Neumair  <cneumair gnome org>

	* src/nautilus-window-manage-views.c
	(nautilus_window_slot_open_location_full):
	When opening a new window, use new window's active slot instead of
	re-using source slot in source window. Fixes spatial mode.


Modified:
   branches/multiview/ChangeLog
   branches/multiview/src/nautilus-window-manage-views.c

Modified: branches/multiview/src/nautilus-window-manage-views.c
==============================================================================
--- branches/multiview/src/nautilus-window-manage-views.c	(original)
+++ branches/multiview/src/nautilus-window-manage-views.c	Sun Jun 29 11:59:59 2008
@@ -611,7 +611,11 @@
         }
 
 	if (target_slot == NULL) {
-		target_slot = slot;
+		if (target_window == window) {
+			target_slot = slot;
+		} else {
+			target_slot = target_window->details->active_slot;
+		}
 	}
 
         if ((!do_load_location) ||



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