Commit 51964243 authored by Konrad Materka's avatar Konrad Materka
Browse files

[SystemTray] Support for AttentionIcon

Summary:
Adding support for Attention Icon to StatusNotifier tray icons

BUG: 341255

Test Plan: As described in bug report, Konversation can be used for tests.

Reviewers: #plasma, davidedmundson, apol, mart, ngraham

Reviewed By: #plasma, davidedmundson, ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24767
parent 12deda2e
...@@ -43,6 +43,11 @@ AbstractItem { ...@@ -43,6 +43,11 @@ AbstractItem {
} }
} }
onStatusChanged: {
//binding is not working in PlasmaCore.IconItem
iconItem.source = status === PlasmaCore.Types.NeedsAttentionStatus ? (AttentionIcon ? AttentionIcon : AttentionIconName) : (Icon ? Icon : IconName)
}
iconItem: iconItem iconItem: iconItem
PlasmaCore.IconItem { PlasmaCore.IconItem {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment