From 1fb67eaca4790ba3e92e42dd5d93536aa4206b70 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 14 Jun 2001 22:08:54 +0000 Subject: Updated to reflect changes to mail_config_[g,s]et_thread_list(). 2001-06-14 Jeffrey Stedfast * folder-browser.c (got_folder): Updated to reflect changes to mail_config_[g,s]et_thread_list(). (folder_browser_toggle_threads): Same. * folder-browser-factory.c (control_activate): Updated to reflect changes to mail_config_[g,s]et_thread_list(). * mail-config.c (mail_config_write_on_exit): Do cleanup when we're done. (mail_config_set_thread_list): Send in a URI so we can save the state on a per-folder basis. (mail_config_get_thread_list): Send in a URI so we can retrieve the state on a per-folder basis. * component-factory.c: Setup the accepted_dnd_types. Also added skeleton code for DnD. svn path=/trunk/; revision=10240 --- mail/folder-browser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/folder-browser.c') diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 1e70501b88..663dd40f6c 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -214,7 +214,7 @@ got_folder(char *uri, CamelFolder *folder, void *data) } gtk_widget_set_sensitive(GTK_WIDGET(fb->search), camel_folder_has_search_capability(folder)); - message_list_set_threaded(fb->message_list, mail_config_get_thread_list()); + message_list_set_threaded (fb->message_list, mail_config_get_thread_list (fb->uri)); message_list_set_folder(fb->message_list, folder, folder_browser_is_drafts (fb) || folder_browser_is_sent (fb) || @@ -429,7 +429,7 @@ folder_browser_toggle_threads (BonoboUIComponent *component, if (type != Bonobo_UIComponent_STATE_CHANGED) return; - mail_config_set_thread_list (atoi (state)); + mail_config_set_thread_list (fb->uri, atoi (state)); message_list_set_threaded (fb->message_list, atoi (state)); } -- cgit