[geary/wip/conversation-polish: 18/26] Don't bother queuing resizs for conversation messages when expanding



commit eef1e0954f952836a6a66acf444ddd34d55577a1
Author: Michael Gratton <mike vee net>
Date:   Thu Jan 31 09:32:39 2019 +1100

    Don't bother queuing resizs for conversation messages when expanding
    
    They won't have had their bodies loaded, so it's pointless.

 src/client/conversation-viewer/conversation-list-box.vala | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-list-box.vala 
b/src/client/conversation-viewer/conversation-list-box.vala
index 3c443154..35eec3f9 100644
--- a/src/client/conversation-viewer/conversation-list-box.vala
+++ b/src/client/conversation-viewer/conversation-list-box.vala
@@ -159,11 +159,6 @@ public class ConversationListBox : Gtk.ListBox, Geary.BaseInterface {
             if (this.view.message_body_state == NOT_STARTED) {
                 yield this.view.load_body();
             }
-            foreach (ConversationMessage message in this.view) {
-                if (!message.web_view.has_valid_height) {
-                    message.web_view.queue_resize();
-                }
-            };
         }
 
         public override void collapse() {


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