aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-20 23:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:52 +0800
commit63a53b5aa4e394b771d9d235e55c3098a70e5fad (patch)
treec5c4580af63943711cf8cd984e3a644e76517b73 /mail
parenta8bb464bf5a0c994a67ae46751a480ec03c6d208 (diff)
downloadgsoc2013-evolution-63a53b5aa4e394b771d9d235e55c3098a70e5fad.tar.gz
gsoc2013-evolution-63a53b5aa4e394b771d9d235e55c3098a70e5fad.tar.zst
gsoc2013-evolution-63a53b5aa4e394b771d9d235e55c3098a70e5fad.zip
Remove e_tree_save_expanded_state().
Reducing API bloat. Do this instead: adapter = e_tree_get_table_adapter (tree); e_tree_table_adapter_save_expanded_state (adapter, filename);
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index bb3c30b50e..cddaac9110 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1945,6 +1945,7 @@ static void
save_tree_state (MessageList *message_list,
CamelFolder *folder)
{
+ ETreeTableAdapter *adapter;
gchar *filename;
if (folder == NULL)
@@ -1953,8 +1954,10 @@ save_tree_state (MessageList *message_list,
if (message_list->search != NULL && *message_list->search != '\0')
return;
+ adapter = e_tree_get_table_adapter (E_TREE (message_list));
+
filename = mail_config_folder_to_cachename (folder, "et-expanded-");
- e_tree_save_expanded_state (E_TREE (message_list), filename);
+ e_tree_table_adapter_save_expanded_state (adapter, filename);
g_free (filename);
message_list->priv->any_row_changed = FALSE;