From 0f0e838a1f76f605051936ad6c7d47e149a9b05e Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 13 Sep 2019 12:28:44 +0200 Subject: Deactivate spinner in file widget as soon as its not displayed anymore (CPU usage) --- main/src/ui/conversation_selector/conversation_selector_row.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui/conversation_selector') diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala index c7331b31..8d601309 100644 --- a/main/src/ui/conversation_selector/conversation_selector_row.vala +++ b/main/src/ui/conversation_selector/conversation_selector_row.vala @@ -136,7 +136,7 @@ public class ConversationSelectorRow : ListBoxRow { nick_label.label = last_message.direction == Message.DIRECTION_SENT ? _("Me") + ": " : ""; } - name_label.attributes.filter((attr) => attr.equal(attr_style_new(Pango.Style.ITALIC))); + message_label.attributes.filter((attr) => attr.equal(attr_style_new(Pango.Style.ITALIC))); message_label.label = Util.summarize_whitespaces_to_space(last_message.body); break; case FileItem.TYPE: -- cgit v1.2.3-70-g09d2