Commit 91b4f891 authored by Marco Martin's avatar Marco Martin
Browse files

hide applet when no notifications

parent ba9c60f5
......@@ -35,6 +35,9 @@ Item {
Plasmoid.switchWidth: 500
Plasmoid.switchHeight: 500
Plasmoid.status: notificationsModel.count > 0
? PlasmaCore.Types.ActiveStatus
: PlasmaCore.Types.PassiveStatus
function addNotification(source, data, actions) {
// Do not show duplicated notifications
......
Supports Markdown
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