[geary/wip/765516-gtk-widget-conversation-viewer: 99/207] Show/hide any attached messages as the primary message is.



commit f93fb43d6494025114375895258787b40bbaeeb5
Author: Michael James Gratton <mike vee net>
Date:   Fri Jul 8 12:08:38 2016 +1000

    Show/hide any attached messages as the primary message is.

 .../conversation-viewer/conversation-email.vala    |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-email.vala 
b/src/client/conversation-viewer/conversation-email.vala
index caf29b2..a63fa00 100644
--- a/src/client/conversation-viewer/conversation-email.vala
+++ b/src/client/conversation-viewer/conversation-email.vala
@@ -329,6 +329,9 @@ public class ConversationEmail : Gtk.Box {
         unstar_button.set_sensitive(true);
         email_menubutton.set_sensitive(true);
         primary_message.show_message_body(include_transitions);
+        foreach (ConversationMessage attached in this._attached_messages) {
+            attached.show_message_body(include_transitions);
+        }
     }
 
     /**
@@ -341,6 +344,9 @@ public class ConversationEmail : Gtk.Box {
         unstar_button.set_sensitive(false);
         email_menubutton.set_sensitive(false);
         primary_message.hide_message_body();
+        foreach (ConversationMessage attached in this._attached_messages) {
+            attached.hide_message_body();
+        }
     }
 
     /**


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