diff options
author | Dan Winship <danw@src.gnome.org> | 2003-04-16 01:09:32 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-04-16 01:09:32 +0800 |
commit | 11213eb9c80b081404c6e5ce13b4e0f81f34c695 (patch) | |
tree | d2650103173bf8ad466d838153de576de797d257 /shell/e-folder.h | |
parent | 7e8c68f20cf664624e8c28c9a434e0c29457b278 (diff) | |
download | gsoc2013-evolution-11213eb9c80b081404c6e5ce13b4e0f81f34c695.tar gsoc2013-evolution-11213eb9c80b081404c6e5ce13b4e0f81f34c695.tar.gz gsoc2013-evolution-11213eb9c80b081404c6e5ce13b4e0f81f34c695.tar.bz2 gsoc2013-evolution-11213eb9c80b081404c6e5ce13b4e0f81f34c695.tar.lz gsoc2013-evolution-11213eb9c80b081404c6e5ce13b4e0f81f34c695.tar.xz gsoc2013-evolution-11213eb9c80b081404c6e5ce13b4e0f81f34c695.tar.zst gsoc2013-evolution-11213eb9c80b081404c6e5ce13b4e0f81f34c695.zip |
new boolean flag.
* e-folder.c (e_folder_get_has_subfolders,
e_folder_set_has_subfolders): new boolean flag.
* e-storage.c (EStoragePrivate, impl_finalize, init): Remove the
pseudofolders hash
(e_storage_async_open_folder): Replace the pseudofolders test with
a test of whether the folder has the "has_subfolders" flag set.
(e_storage_new_folder): Likewise (for the folder's parent).
(e_storage_declare_has_subfolders): Set "has_subfolders" on the
folder.
(e_storage_get_has_subfolders): Check "has_subfolders" on the
folder.
Should fix #33919.
svn path=/trunk/; revision=20845
Diffstat (limited to 'shell/e-folder.h')
-rw-r--r-- | shell/e-folder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-folder.h b/shell/e-folder.h index bf7db6c063..53308fb62f 100644 --- a/shell/e-folder.h +++ b/shell/e-folder.h @@ -81,6 +81,7 @@ int e_folder_get_unread_count (EFolder *folder); gboolean e_folder_get_highlighted (EFolder *folder); gboolean e_folder_get_is_stock (EFolder *folder); gboolean e_folder_get_can_sync_offline (EFolder *folder); +gboolean e_folder_get_has_subfolders (EFolder *folder); const char *e_folder_get_custom_icon_name (EFolder *folder); int e_folder_get_sorting_priority (EFolder *folder); @@ -92,6 +93,7 @@ void e_folder_set_unread_count (EFolder *folder, int unread_count); void e_folder_set_child_highlight (EFolder *folder, gboolean highlighted); void e_folder_set_is_stock (EFolder *folder, gboolean is_stock); void e_folder_set_can_sync_offline (EFolder *folder, gboolean can_sync_offline); +void e_folder_set_has_subfolders (EFolder *folder, gboolean has_subfolders); void e_folder_set_custom_icon (EFolder *folder, const char *icon_name); void e_folder_set_sorting_priority (EFolder *folder, int sorting_priority); |