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-config.c | |
parent | ed0a0ca71623bdfdca4afe145038995c4bf83560 (diff) | |
download | gsoc2013-evolution-33e87f5331e8cbdd3b3b9713bbe7446882e3ca37.tar.gz 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-config.c')
-rw-r--r-- | mail/mail-config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index cfd550e716..71758dc3bc 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -851,6 +851,8 @@ mail_config_uri_deleted (GCompareFunc uri_cmp, const char *uri) int work = 0; /* assumes these can't be removed ... */ extern char *default_sent_folder_uri, *default_drafts_folder_uri; + + mail_tool_delete_meta_data(uri); iter = e_list_get_iterator ((EList *) config->accounts); while (e_iterator_is_valid (iter)) { |