summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
authorClément Masci <>2018-09-14 22:30:23 +0200
committerClément Masci <>2018-09-14 22:30:23 +0200
commitfd1f45f308e418d1c1b44b968ce83f77e4f8a689 (patch)
tree11e704e97f42b2f9359a2a655911ae6100491312 /src/caja-window.c
parent3619f72800e135973f3a2bf615fe7827ab06273d (diff)
downloadcaja-fd1f45f308e418d1c1b44b968ce83f77e4f8a689.tar.bz2
caja-fd1f45f308e418d1c1b44b968ce83f77e4f8a689.tar.xz
add option to open multiple uri in tabs at startup
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;