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



commit 44ac10721a61c56dde927f6743271867c2856548
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]