diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-02-09 05:20:50 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-02-09 05:20:50 +0800 |
commit | 88594ac53a888dac465fc5e2ccb0925cc0c0a49a (patch) | |
tree | 9418c784cfd893df6cc48cbd6711444f2b6e2614 /shell/e-shell-folder-creation-dialog.h | |
parent | fb6c1a7afb699431ce6860888f423d5c2e7c1c8e (diff) | |
download | gsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.tar gsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.tar.gz gsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.tar.bz2 gsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.tar.lz gsoc2013-evolution-88594ac53a888dac465fc5e2ccb0925cc0c0a49a.tar.xz 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.h | 20 |
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 */ |