diff options
Diffstat (limited to 'src/caja-navigation-window-menus.c')
-rw-r--r-- | src/caja-navigation-window-menus.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/caja-navigation-window-menus.c b/src/caja-navigation-window-menus.c index 9976a6ca..6839ef6f 100644 --- a/src/caja-navigation-window-menus.c +++ b/src/caja-navigation-window-menus.c @@ -607,15 +607,12 @@ action_new_window_callback (GtkAction *action, gpointer user_data) { CajaWindow *current_window; - CajaWindow *new_window; - current_window = CAJA_WINDOW (user_data); - new_window = caja_application_create_navigation_window ( - current_window->application, - gtk_window_get_screen (GTK_WINDOW (current_window))); - caja_window_go_home (new_window); + current_window = CAJA_WINDOW (user_data); + caja_window_new_window (current_window); } + static void action_new_tab_callback (GtkAction *action, gpointer user_data) |