[geary/wip/765516-gtk-widget-conversation-viewer: 39/78] Expand the email for search conversations with only one message.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/765516-gtk-widget-conversation-viewer: 39/78] Expand the email for search conversations with only one message.
- Date: Fri, 8 Jul 2016 08:06:24 +0000 (UTC)
commit b8a6bbb0c64e4f04613eb4b6b8fb2df84a53d7b2
Author: Michael James Gratton <mike vee net>
Date: Tue Apr 19 17:15:52 2016 +1000
Expand the email for search conversations with only one message.
.../conversation-viewer/conversation-viewer.vala | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-viewer.vala
b/src/client/conversation-viewer/conversation-viewer.vala
index e7c6767..d3510b6 100644
--- a/src/client/conversation-viewer/conversation-viewer.vala
+++ b/src/client/conversation-viewer/conversation-viewer.vala
@@ -477,11 +477,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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]