summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Camp <dave@novell.com>2004-06-01 19:28:26 +0000
committerDave Camp <campd@src.gnome.org>2004-06-01 19:28:26 +0000
commit0ca0277275be9f93eb687fa2dfb8ceee24a22f0e (patch)
tree89d995b672713e732f3ebbb210a9d4705501a8f9
parentc12d9e2feb0049911bd31a59bcedca2f165fa05a (diff)
downloadnautilus-0ca0277275be9f93eb687fa2dfb8ceee24a22f0e.tar.gz
If always_use_browser is set and the window is a spatial window, create a
2004-06-01 Dave Camp <dave@novell.com> * src/nautilus-window-manage-views.c: (open_location): If always_use_browser is set and the window is a spatial window, create a new browser window.
-rw-r--r--ChangeLog6
-rw-r--r--src/nautilus-window-manage-views.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 37f3d0c8d..13ae9e204 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-01 Dave Camp <dave@novell.com>
+
+ * src/nautilus-window-manage-views.c: (open_location): If
+ always_use_browser is set and the window is a spatial window,
+ create a new browser window.
+
2004-05-29 Christian Rose <menthos@menthos.com>
* configure.in: Added "tk" to ALL_LINGUAS.
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index 628530408..a5c6beb2f 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -672,7 +672,7 @@ open_location (NautilusWindow *window,
case Nautilus_ViewFrame_OPEN_ACCORDING_TO_MODE :
if (eel_preferences_get_boolean (NAUTILUS_PREFERENCES_ALWAYS_USE_BROWSER)) {
target_window = window;
- if (NAUTILUS_IS_DESKTOP_WINDOW (window)) {
+ if (NAUTILUS_IS_SPATIAL_WINDOW (window)) {
if (!NAUTILUS_SPATIAL_WINDOW (window)->affect_spatial_window_on_next_location_change) {
target_window = nautilus_application_create_navigation_window
(window->application,