aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-03-15 03:58:36 +0800
committerDan Winship <danw@src.gnome.org>2003-03-15 03:58:36 +0800
commit35ff6769cb500b826678ae64504befc1c9c4757e (patch)
tree8728b8b6a4092dede79f5591668867726af23ff6 /shell/e-storage.h
parent238c20117fc8d3fdddb270e3ef197593e45e1a85 (diff)
downloadgsoc2013-evolution-35ff6769cb500b826678ae64504befc1c9c4757e.tar.gz
gsoc2013-evolution-35ff6769cb500b826678ae64504befc1c9c4757e.tar.zst
gsoc2013-evolution-35ff6769cb500b826678ae64504befc1c9c4757e.zip
Add (e_storage_declare_has_subfolders): Rename from
* e-storage.c (e_storage_get_has_subfolders): Add (e_storage_declare_has_subfolders): Rename from e_storage_has_subfolders to make it clearer that this is a setter, not a getter. (Can't call it e_storage_set_has_subfolders because that sounds like it belongs in e-storage-set.) * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders): update for e_storage_declare_has_subfolders name change (get_folder): Override the default EStorage implementation: if asked for a folder under a not-yet-expanded folder, attempt to force the parent(s) to expand so that the child is available. Fixes part of #30415 svn path=/trunk/; revision=20302
Diffstat (limited to 'shell/e-storage.h')
-rw-r--r--shell/e-storage.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/shell/e-storage.h b/shell/e-storage.h
index e7793b8c90..bd0cc5da22 100644
--- a/shell/e-storage.h
+++ b/shell/e-storage.h
@@ -195,9 +195,17 @@ char *e_storage_get_path_for_physical_uri (EStorage *storage,
const char *physical_uri);
/* Protected. C++ anyone? */
-gboolean e_storage_new_folder (EStorage *storage, const char *path, EFolder *folder);
-gboolean e_storage_has_subfolders (EStorage *storage, const char *path, const char *message);
-gboolean e_storage_removed_folder (EStorage *storage, const char *path);
+gboolean e_storage_new_folder (EStorage *storage,
+ const char *path,
+ EFolder *folder);
+gboolean e_storage_removed_folder (EStorage *storage,
+ const char *path);
+
+gboolean e_storage_declare_has_subfolders (EStorage *storage,
+ const char *path,
+ const char *message);
+gboolean e_storage_get_has_subfolders (EStorage *storage,
+ const char *path);
#ifdef __cplusplus
}