From 33e87f5331e8cbdd3b3b9713bbe7446882e3ca37 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 24 Mar 2003 13:27:32 +0000 Subject: Load per-folder setting of show_preview from meta data. 2003-03-25 Not Zed * 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 --- mail/folder-browser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/folder-browser.h') diff --git a/mail/folder-browser.h b/mail/folder-browser.h index d538003301..d4665c91b8 100644 --- a/mail/folder-browser.h +++ b/mail/folder-browser.h @@ -71,6 +71,8 @@ struct _FolderBrowser { EFilterBar *search; FilterRule *search_full; /* if we have a full search active */ + + struct _EMeta *meta; /* various per-folder meta-data */ guint32 preview_shown : 1; guint32 threaded : 1; -- cgit