diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-11 01:56:46 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-11 01:56:46 +0800 |
commit | bbb6a6942fdfbb2684c37ee6aa55f8c6e5b5a9f2 (patch) | |
tree | edcd34154f3281bd860ce40f67d7fc736d340e75 /shell/e-storage-set.h | |
parent | e8e0d04d0c8a5eb18a62d98e5a62d126756fa79f (diff) | |
download | gsoc2013-evolution-bbb6a6942fdfbb2684c37ee6aa55f8c6e5b5a9f2.tar.gz gsoc2013-evolution-bbb6a6942fdfbb2684c37ee6aa55f8c6e5b5a9f2.tar.zst gsoc2013-evolution-bbb6a6942fdfbb2684c37ee6aa55f8c6e5b5a9f2.zip |
Implemented folder creation dialog (File -> New -> Folder). To make
it really work though, the components should implement creation
functionality by passing an appropriate function pointer in
`e_shell_component_new()' for @create_folder_fn.
svn path=/trunk/; revision=3504
Diffstat (limited to 'shell/e-storage-set.h')
-rw-r--r-- | shell/e-storage-set.h | 45 |
1 files changed, 28 insertions, 17 deletions
diff --git a/shell/e-storage-set.h b/shell/e-storage-set.h index 9f9b38ac64..7731b5cafc 100644 --- a/shell/e-storage-set.h +++ b/shell/e-storage-set.h @@ -69,23 +69,34 @@ struct _EStorageSetClass { GtkType e_storage_set_get_type (void); -void e_storage_set_construct (EStorageSet *storage_set, - EFolderTypeRegistry *folder_type_registry); -EStorageSet *e_storage_set_new (EFolderTypeRegistry *folder_type_registry); - -gboolean e_storage_set_add_storage (EStorageSet *storage_set, - EStorage *storage); -gboolean e_storage_set_remove_storage (EStorageSet *storage_set, - EStorage *storage); -void e_storage_set_remove_all_storages (EStorageSet *storage_set); - -GList *e_storage_set_get_storage_list (EStorageSet *storage_set); -EStorage *e_storage_set_get_storage (EStorageSet *storage_set, - const char *storage_name); -EFolder *e_storage_set_get_folder (EStorageSet *storage_set, - const char *path); - -GtkWidget *e_storage_set_new_view (EStorageSet *storage_set); +void e_storage_set_construct (EStorageSet *storage_set, + EFolderTypeRegistry *folder_type_registry); +EStorageSet *e_storage_set_new (EFolderTypeRegistry *folder_type_registry); + +gboolean e_storage_set_add_storage (EStorageSet *storage_set, + EStorage *storage); +gboolean e_storage_set_remove_storage (EStorageSet *storage_set, + EStorage *storage); +void e_storage_set_remove_all_storages (EStorageSet *storage_set); + +GList *e_storage_set_get_storage_list (EStorageSet *storage_set); +EStorage *e_storage_set_get_storage (EStorageSet *storage_set, + const char *storage_name); +EFolder *e_storage_set_get_folder (EStorageSet *storage_set, + const char *path); + +GtkWidget *e_storage_set_new_view (EStorageSet *storage_set); + +void e_storage_set_async_create_folder (EStorageSet *storage_set, + const char *path, + const char *type, + const char *description, + EStorageResultCallback callback, + void *data); +void e_storage_set_async_remove_folder (EStorageSet *storage_set, + const char *path, + EStorageResultCallback callback, + void *data); EFolderTypeRegistry *e_storage_set_get_folder_type_registry (EStorageSet *storage_set); |