diff options
author | fiaxh <git@lightrise.org> | 2019-09-13 12:28:44 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-09-14 16:08:27 +0200 |
commit | 0f0e838a1f76f605051936ad6c7d47e149a9b05e (patch) | |
tree | 2b989a3a9301970061503923b257b9cc78828cdb /main/src/ui/conversation_selector | |
parent | c8f2b80978706c4c53deb7ddfb8188c751bcb291 (diff) | |
download | dino-0f0e838a1f76f605051936ad6c7d47e149a9b05e.tar.gz dino-0f0e838a1f76f605051936ad6c7d47e149a9b05e.zip |
Deactivate spinner in file widget as soon as its not displayed anymore (CPU usage)
Diffstat (limited to 'main/src/ui/conversation_selector')
-rw-r--r-- | main/src/ui/conversation_selector/conversation_selector_row.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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: |