aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-03 03:08:44 +0800
committerDan Winship <danw@src.gnome.org>2000-10-03 03:08:44 +0800
commite459a0465f0a0d6cabb2ae55366060a7d38da13f (patch)
tree6977ff537a362757bd4bc37e2ec694fbfa2277c8 /mail/message-list.c
parente9dc30dbf0c018bbc845f253bfe0b26baddbeaf2 (diff)
downloadgsoc2013-evolution-e459a0465f0a0d6cabb2ae55366060a7d38da13f.tar.gz
gsoc2013-evolution-e459a0465f0a0d6cabb2ae55366060a7d38da13f.tar.zst
gsoc2013-evolution-e459a0465f0a0d6cabb2ae55366060a7d38da13f.zip
Update for CamelFolderInfo changes.
* mail-ops.c (mail_do_scan_subfolders, etc): Update for CamelFolderInfo changes. * message-list.c (message_list_destroy): Don't save_tree_state if there's no folder associated with the MessageList. * folder-browser.c (folder_browser_set_uri): Only call mail_do_load_folder if the URI is not "". svn path=/trunk/; revision=5664
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index bceaee60aa..87846302ec 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1103,7 +1103,8 @@ message_list_destroy (GtkObject *object)
MessageList *message_list = MESSAGE_LIST (object);
int i;
- save_tree_state(message_list);
+ if (message_list->folder)
+ save_tree_state(message_list);
gtk_object_unref (GTK_OBJECT (message_list->table_model));
gtk_object_unref (GTK_OBJECT (message_list->header_model));