diff options
author | Jasmine Hassan <[email protected]> | 2012-10-19 00:01:23 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:50 +0200 |
commit | 662d2326c5ce63c867b3d94fb2bb44d9a244399b (patch) | |
tree | 00b88f5d37a7b28dc84003dcaf5fa34f812963cd /src/caja-window.c | |
parent | 2a1ef1efb5434f189e0463c834d5926bd931184e (diff) | |
download | caja-662d2326c5ce63c867b3d94fb2bb44d9a244399b.tar.bz2 caja-662d2326c5ce63c867b3d94fb2bb44d9a244399b.tar.xz |
[window] add _full() versions of _go_to and _open() methods
These also have a callback to get the result of the operation.
http://git.gnome.org/browse/nautilus/commit/?id=24515b87a91afd32885e07e32e2b4080584673a4
Diffstat (limited to 'src/caja-window.c')
-rw-r--r-- | src/caja-window.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/caja-window.c b/src/caja-window.c index d7c4c2cc..13f45508 100644 --- a/src/caja-window.c +++ b/src/caja-window.c @@ -236,6 +236,17 @@ caja_window_go_to (CajaWindow *window, GFile *location) } void +caja_window_go_to_full (CajaWindow *window, + GFile *location, + CajaWindowGoToCallback callback, + gpointer user_data) +{ + g_return_if_fail (CAJA_IS_WINDOW (window)); + + caja_window_slot_go_to_full (window->details->active_pane->active_slot, location, FALSE, callback, user_data); +} + +void caja_window_go_to_with_selection (CajaWindow *window, GFile *location, GList *new_selection) { g_return_if_fail (CAJA_IS_WINDOW (window)); @@ -324,7 +335,8 @@ caja_window_go_up (CajaWindow *window, gboolean close_behind, gboolean new_tab) caja_window_slot_open_location_full (slot, parent, CAJA_WINDOW_OPEN_ACCORDING_TO_MODE, flags, - selection); + selection, + NULL, NULL); g_object_unref (parent); |