Commit 02f21007 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[applets/notifications] Only show dedicated clear button when not in tray

Since the "clear notifications" action is an Action, it now appears
automatically in the header when the applet is displayed in the system
tray.
parent 8ea889d9
......@@ -173,6 +173,8 @@ PlasmaComponents3.Page {
}
PlasmaComponents3.ToolButton {
visible: plasmoid.containmentType !== PlasmaCore.Types.CustomEmbeddedContainment
icon.name: "edit-clear-history"
enabled: plasmoid.action("clearHistory").visible
onClicked: action_clearHistory()
......
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