[geary/wip/765516-gtk-widget-conversation-viewer] Ensure ConversationRow subclasses do not need to be indiviudally shown.



commit 0331dfbfeda2e3e545c9333dc74a439dfc8f159e
Author: Michael James Gratton <mike vee net>
Date:   Tue Sep 27 10:27:30 2016 +1000

    Ensure ConversationRow subclasses do not need to be indiviudally shown.

 .../conversation-viewer/conversation-list-box.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-list-box.vala 
b/src/client/conversation-viewer/conversation-list-box.vala
index 2398015..a8173c1 100644
--- a/src/client/conversation-viewer/conversation-list-box.vala
+++ b/src/client/conversation-viewer/conversation-list-box.vala
@@ -74,6 +74,7 @@ public class ConversationListBox : Gtk.ListBox {
 
         public ConversationRow(Geary.Email? email) {
             this.email = email;
+            show();
         }
 
         // Request the row be expanded, if supported.
@@ -446,7 +447,6 @@ public class ConversationListBox : Gtk.ListBox {
         }
 
         ComposerRow row = new ComposerRow(embed);
-        row.show();
         row.enable_should_scroll();
         row.should_scroll.connect(() => { scroll_to(row); });
         add(row);
@@ -738,7 +738,6 @@ public class ConversationListBox : Gtk.ListBox {
             });
 
         EmailRow row = new EmailRow(view);
-        row.show();
         this.email_rows.set(email.id, row);
 
         add(row);


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