[geary/wip/conversation-polish] Don't bother queuing resizs for conversation messages when expanding
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/conversation-polish] Don't bother queuing resizs for conversation messages when expanding
- Date: Wed, 30 Jan 2019 23:07:00 +0000 (UTC)
commit faba28cd74e86e89447b2543fb3f38de6ac9e63f
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]