diff options
author | Clément Masci <> | 2018-09-14 22:30:23 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-09-17 09:28:48 +0200 |
commit | 6a31ce65e4213d6069e5eb515640233cd27c3937 (patch) | |
tree | b982839d912c1ff13ccbe06e00f1bfb2ab6b445d /src/caja-window.c | |
parent | fb9a3cfdd0eeac12044ed2f317f51193bf44b6e0 (diff) | |
download | caja-6a31ce65e4213d6069e5eb515640233cd27c3937.tar.bz2 caja-6a31ce65e4213d6069e5eb515640233cd27c3937.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.c | 10 |
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; |