[geary/wip/135-contact-popovers] Minor ConversationListBox tweaks



commit f191d95c22593f9e798a869f594f4cbdf464287e
Author: Michael Gratton <mike vee net>
Date:   Sun Mar 17 13:58:00 2019 +1100

    Minor ConversationListBox tweaks

 src/client/conversation-viewer/conversation-list-box.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-list-box.vala 
b/src/client/conversation-viewer/conversation-list-box.vala
index e0c3980c..1cdcb1e2 100644
--- a/src/client/conversation-viewer/conversation-list-box.vala
+++ b/src/client/conversation-viewer/conversation-list-box.vala
@@ -640,7 +640,7 @@ public class ConversationListBox : Gtk.ListBox, Geary.BaseInterface {
 
         // Load the interesting row completely up front, and load the
         // remaining in the background so we can return fast.
-        interesting_row.view.load_contacts.begin();
+        yield interesting_row.view.load_contacts();
         yield interesting_row.expand();
         this.finish_loading.begin(
             query, uninteresting, post_interesting
@@ -886,8 +886,8 @@ public class ConversationListBox : Gtk.ListBox, Geary.BaseInterface {
         if (!this.cancellable.is_cancelled()) {
             EmailRow row = add_email(full_email);
             yield row.view.load_contacts();
-            this.search.highlight_row_if_matching(row);
             yield row.expand();
+            this.search.highlight_row_if_matching(row);
         }
     }
 


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