summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 098160ce..52676dd5 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -235,6 +235,14 @@ caja_window_go_to (CajaWindow *window, GFile *location)
}
void
+caja_window_go_to_tab (CajaWindow *window, GFile *location)
+{
+ g_return_if_fail (CAJA_IS_WINDOW (window));
+
+ caja_window_slot_go_to (window->details->active_pane->active_slot, location, TRUE);
+}
+
+void
caja_window_go_to_full (CajaWindow *window,
GFile *location,
CajaWindowGoToCallback callback,
@@ -266,7 +274,7 @@ caja_window_new_tab (CajaWindow *window)
CajaWindowSlot *current_slot;
CajaWindowSlot *new_slot;
CajaWindowOpenFlags flags;
- GFile *location;
+ GFile *location = NULL;
int new_slot_position;
char *scheme;