summaryrefslogtreecommitdiff
path: root/src/caja-application.h
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-19 01:22:08 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:51 +0200
commit867bdfb4c9f899358e82d9511300fde541172967 (patch)
tree59471870105b343a62f4630b829b7889212f86c7 /src/caja-application.h
parentf1f85813b51e79b0be816a28dba61bbdef5a6df5 (diff)
downloadcaja-867bdfb4c9f899358e82d9511300fde541172967.tar.bz2
caja-867bdfb4c9f899358e82d9511300fde541172967.tar.xz
[application] change the way spatial windows are created
Use a _get() function + the standard caja_window_go_to() instead of using _present(). The new functions in caja-window-manage-views are smart enough to take care of re-using an existent window. http://git.gnome.org/browse/nautilus/commit/?id=d070d631545aac9114bc271481da603587c07c7c
Diffstat (limited to 'src/caja-application.h')
-rw-r--r--src/caja-application.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/caja-application.h b/src/caja-application.h
index 5c5b94d0..426f2c09 100644
--- a/src/caja-application.h
+++ b/src/caja-application.h
@@ -88,17 +88,12 @@ GList * caja_application_get_window_list (void);
GList * caja_application_get_spatial_window_list (void);
unsigned int caja_application_get_n_windows (void);
-CajaWindow * caja_application_present_spatial_window (CajaApplication *application,
+CajaWindow * caja_application_get_spatial_window (CajaApplication *application,
CajaWindow *requesting_window,
- const char *startup_id,
- GFile *location,
- GdkScreen *screen);
-CajaWindow * caja_application_present_spatial_window_with_selection (CajaApplication *application,
- CajaWindow *requesting_window,
- const char *startup_id,
- GFile *location,
- GList *new_selection,
- GdkScreen *screen);
+ const char *startup_id,
+ GFile *location,
+ GdkScreen *screen,
+ gboolean *existing);
CajaWindow * caja_application_create_navigation_window (CajaApplication *application,
const char *startup_id,