aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-creation-dialog.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-02-09 05:20:50 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-02-09 05:20:50 +0800
commit88594ac53a888dac465fc5e2ccb0925cc0c0a49a (patch)
tree9418c784cfd893df6cc48cbd6711444f2b6e2614 /shell/e-shell-folder-creation-dialog.h
parentfb6c1a7afb699431ce6860888f423d5c2e7c1c8e (diff)
downloadgsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.tar.gz
gsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.tar.zst
gsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.zip
Change the folder selection dialog so that, when you click on "New"
and create a folder, that folder becomes the default folder when you go back to the selection dialog. svn path=/trunk/; revision=8119
Diffstat (limited to 'shell/e-shell-folder-creation-dialog.h')
-rw-r--r--shell/e-shell-folder-creation-dialog.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/shell/e-shell-folder-creation-dialog.h b/shell/e-shell-folder-creation-dialog.h
index ac7518f986..63b6b1179a 100644
--- a/shell/e-shell-folder-creation-dialog.h
+++ b/shell/e-shell-folder-creation-dialog.h
@@ -28,8 +28,22 @@
#include "e-shell.h"
-void e_shell_show_folder_creation_dialog (EShell *shell,
- GtkWindow *parent,
- const char *default_parent_folder);
+enum _EShellFolderCreationDialogResult {
+ E_SHELL_FOLDER_CREATION_DIALOG_RESULT_SUCCESS,
+ E_SHELL_FOLDER_CREATION_DIALOG_RESULT_FAIL,
+ E_SHELL_FOLDER_CREATION_DIALOG_RESULT_CANCEL
+};
+typedef enum _EShellFolderCreationDialogResult EShellFolderCreationDialogResult;
+
+typedef void (* EShellFolderCreationDialogCallback) (EShell *shell,
+ EShellFolderCreationDialogResult result,
+ const char *path,
+ void *data);
+
+void e_shell_show_folder_creation_dialog (EShell *shell,
+ GtkWindow *parent,
+ const char *default_parent_folder,
+ EShellFolderCreationDialogCallback result_callback,
+ void *result_callback_data);
#endif /* E_SHELL_FOLDER_CREATION_DIALOG_H */