summaryrefslogtreecommitdiff
path: root/src/nautilus-window.h
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@openbsd.org>2011-06-20 18:34:47 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2011-07-25 12:33:03 +0200
commit3caf41765453c3c4cf9a73aae87b185d099598f9 (patch)
tree7f8d80db535d429059fd920ad527e912ca24c05c /src/nautilus-window.h
parent2bbbc01dc6429e948aed0bbf077e1b77880352ee (diff)
downloadnautilus-3caf41765453c3c4cf9a73aae87b185d099598f9.tar.gz
Turn nautilus_window_close() into a virtual method.
nautilus_window_close() is now a virtual method that will behaves according to NautilusWindowClass: it won't do anything if the window is a NautilusDesktopWindow (i.e. it won't close it) which would prevent desktop icons from disappearing. nautilus_application_close_all_windows() will now skip hiding windows but close them right away. https://bugzilla.gnome.org/show_bug.cgi?id=652724
Diffstat (limited to 'src/nautilus-window.h')
-rw-r--r--src/nautilus-window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-window.h b/src/nautilus-window.h
index 3d84e9cdc..ba431386e 100644
--- a/src/nautilus-window.h
+++ b/src/nautilus-window.h
@@ -92,6 +92,7 @@ typedef struct {
NautilusWindowSlot *slot);
void (* prompt_for_location) (NautilusWindow *window, const char *initial);
+ void (* close) (NautilusWindow *window);
/* Signals used only for keybindings */
gboolean (* go_up) (NautilusWindow *window,