Expand the email for search conversations with only one message.

This commit is contained in:
Michael James Gratton 2016-04-19 17:15:52 +10:00
parent ec22b33825
commit cfe68ef8c1

View file

@ -482,11 +482,13 @@ public class ConversationViewer : Gtk.Stack {
yield highlight_search_terms();
} else {
compress_emails();
// Ensure the last email is always shown
Gtk.ListBoxRow last_row = conversation_listbox.get_row_at_index(emails.size - 1);
expand_email(last_row, false);
}
// Ensure the last email is always shown
Gtk.ListBoxRow last_row =
conversation_listbox.get_row_at_index(emails.size - 1);
expand_email(last_row, false);
loading_conversations = false;
if (state == ViewState.CONVERSATION) {
debug("Emails loaded\n");