[geary/wip/765516-gtk-widget-conversation-viewer: 55/80] 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: 55/80] Expand the email for search conversations with only one message.
- Date: Thu, 16 Jun 2016 04:17:27 +0000 (UTC)
commit a6b6362f43165b79e1500eab74db8f06d511426f
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 4672e58..46258fb 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]