[geary/wip/765516-gtk-widget-conversation-viewer: 107/107] Don't ever collapse the last email in the conversation.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/765516-gtk-widget-conversation-viewer: 107/107] Don't ever collapse the last email in the conversation.
- Date: Sun, 5 Jun 2016 12:36:29 +0000 (UTC)
commit 3f19f844c14e991b850410e4c08b2a8a2b6e8a32
Author: Michael James Gratton <mike vee net>
Date: Sun May 22 13:41:42 2016 +1000
Don't ever collapse the last email in the conversation.
.../conversation-viewer/conversation-viewer.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-viewer.vala
b/src/client/conversation-viewer/conversation-viewer.vala
index e6a6d85..9f0eace 100644
--- a/src/client/conversation-viewer/conversation-viewer.vala
+++ b/src/client/conversation-viewer/conversation-viewer.vala
@@ -130,7 +130,7 @@ public class ConversationViewer : Gtk.Stack {
// If not a ConversationEmail, will be an
// embedded composer and should not be activated.
ConversationEmail? msg = row.get_child() as ConversationEmail;
- if (email_to_row.size > 1 && msg != null) {
+ if (!row.get_style_context().has_class("geary_last") && msg != null) {
if (msg.is_message_body_visible) {
collapse_email(row);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]