diff options
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 374ad3bea0..b276e227e7 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -3546,17 +3546,6 @@ message_list_set_threaded (MessageList *ml, gboolean threaded) } void -message_list_set_expand_all (MessageList *ml, gboolean threaded) -{ - if (ml->threaded != threaded) { - ml->threaded = threaded; - - if (ml->frozen == 0) - mail_regen_list (ml, ml->search, NULL, NULL); - } -} - -void message_list_set_hidedeleted (MessageList *ml, gboolean hidedeleted) { if (ml->hidedeleted != hidedeleted) { @@ -4062,8 +4051,8 @@ regen_list_done (struct _regen_list_msg *m) else load_tree_state (m->ml); - m->ml->expand_all = FALSE; - m->ml->collapse_all = FALSE; + m->ml->expand_all = 0; + m->ml->collapse_all = 0; } else build_flat (m->ml, m->summary, m->changes); |