summaryrefslogtreecommitdiff
path: root/src/nautilus-application.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-31 02:51:13 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2010-09-20 17:04:45 +0200
commitd070d631545aac9114bc271481da603587c07c7c (patch)
treebde8eae6ac10e43d0f84fdd38f805bda6c0b4c2a /src/nautilus-application.h
parent1936e668c73b932f8cb018e278f8b7f46442fda2 (diff)
downloadnautilus-d070d631545aac9114bc271481da603587c07c7c.tar.gz
application: change the way spatial windows are created
Use a _get() function + the standard nautilus_window_go_to() instead of using _present(). The new functions in nautilus-window-manage-views are smart enough to take care of re-using an existent window.
Diffstat (limited to 'src/nautilus-application.h')
-rw-r--r--src/nautilus-application.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/nautilus-application.h b/src/nautilus-application.h
index 29fc5e655..f57d6e29b 100644
--- a/src/nautilus-application.h
+++ b/src/nautilus-application.h
@@ -86,17 +86,12 @@ GList * nautilus_application_get_window_list (void);
GList * nautilus_application_get_spatial_window_list (void);
unsigned int nautilus_application_get_n_windows (void);
-NautilusWindow * nautilus_application_present_spatial_window (NautilusApplication *application,
- NautilusWindow *requesting_window,
- const char *startup_id,
- GFile *location,
- GdkScreen *screen);
-NautilusWindow * nautilus_application_present_spatial_window_with_selection (NautilusApplication *application,
- NautilusWindow *requesting_window,
- const char *startup_id,
- GFile *location,
- GList *new_selection,
- GdkScreen *screen);
+NautilusWindow * nautilus_application_get_spatial_window (NautilusApplication *application,
+ NautilusWindow *requesting_window,
+ const char *startup_id,
+ GFile *location,
+ GdkScreen *screen,
+ gboolean *existing);
NautilusWindow * nautilus_application_create_navigation_window (NautilusApplication *application,
const char *startup_id,