diff options
author | Not Zed <NotZed@Ximian.com> | 2003-03-24 21:27:32 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-03-24 21:27:32 +0800 |
commit | 33e87f5331e8cbdd3b3b9713bbe7446882e3ca37 (patch) | |
tree | aedcf6d61636003f743d2b37fa905a7f6315b266 /mail/mail-tools.h | |
parent | ed0a0ca71623bdfdca4afe145038995c4bf83560 (diff) | |
download | gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.tar gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.tar.gz gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.tar.bz2 gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.tar.lz gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.tar.xz gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.tar.zst gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.zip |
Load per-folder setting of show_preview from meta data.
2003-03-25 Not Zed <NotZed@Ximian.com>
* folder-browser-ui.c (folder_browser_ui_add_global): Load
per-folder setting of show_preview from meta data.
(folder_browser_ui_add_list): Same, for thread_list.
* mail-tools.c (mail_tool_get_meta_data)
(mail_tool_delete_meta_data): helpers to lookup/delete meta data.
* mail-config.c (mail_config_uri_deleted): delete the meta-data
for the folder.
* folder-browser.c (folder_browser_reload): dont reload the uri if
we're in the process of loading it still.
(folder_browser_new): load the folder meta data before loading the
folder.
(folder_browser_toggle_preview):
(folder_browser_toggle_threads): save change to meta-data.
(got_folder): Load the metadata if we have a folder to set, and
the meta-data has changed from initislisation.
svn path=/trunk/; revision=20478
Diffstat (limited to 'mail/mail-tools.h')
-rw-r--r-- | mail/mail-tools.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-tools.h b/mail/mail-tools.h index 6c74d291f8..fc01294d4e 100644 --- a/mail/mail-tools.h +++ b/mail/mail-tools.h @@ -77,4 +77,7 @@ CamelFolder *mail_tools_x_evolution_message_parse (char *in, unsigned int inlen, char *mail_tools_folder_to_url (CamelFolder *folder); +struct _EMeta *mail_tool_get_meta_data(const char *uri); +void mail_tool_delete_meta_data(const char *uri); + #endif |