[geary/wip/765516-gtk-widget-conversation-viewer: 183/187] Ensure drafts messages are always displayed expanded by default.



commit 50932203ca5341462093ee632197a5668981f122
Author: Michael James Gratton <mike vee net>
Date:   Mon Sep 19 15:42:42 2016 +1000

    Ensure drafts messages are always displayed expanded by default.

 .../conversation-viewer/conversation-listbox.vala  |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-listbox.vala 
b/src/client/conversation-viewer/conversation-listbox.vala
index b2cc158..c2aebcb 100644
--- a/src/client/conversation-viewer/conversation-listbox.vala
+++ b/src/client/conversation-viewer/conversation-listbox.vala
@@ -648,7 +648,8 @@ public class ConversationListBox : Gtk.ListBox {
 
         // Expand interesting messages by default
         if (email.is_unread().is_certain() ||
-            email.is_flagged().is_certain()) {
+            email.is_flagged().is_certain() ||
+            is_draft) {
             row.expand();
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]