Commit ad9ec635 authored by Nate Graham's avatar Nate Graham
Browse files

Use a broom-style icon for clearing clipboard and notification history

Summary: Use Breeze's new broom-style icon for the {nav Clear History} buttons in the Klipper and Notification plasmoids.

Test Plan:
With Frameworks 5.48, the broom-style icon will be shown:

With an earlier Frameworks version or a different icon theme, a backspace-style icon will be displayed:

Reviewers: broulik, Fuchs, #plasma, davidedmundson

Reviewed By: Fuchs, #plasma, davidedmundson

Subscribers: Zren, plasma-devel

Tags: #plasma

Differential Revision:
parent 9447ce3e
......@@ -96,7 +96,7 @@ ColumnLayout {
Layout.fillWidth: true
PlasmaComponents.ToolButton {
iconSource: "edit-delete"
iconSource: "edit-clear-history"
tooltip: i18n("Clear history")
onClicked: clipboardSource.service("", "clearHistory")
......@@ -282,7 +282,7 @@ Column {
PlasmaComponents.ToolButton {
Layout.rightMargin: spacerSvgFrame.margins.right
iconSource: "edit-delete"
iconSource: "edit-clear-history"
tooltip: i18n("Clear History")
onClicked: clearHistory()
......@@ -147,7 +147,7 @@ MouseEventListener {
Component.onCompleted: {
plasmoid.setAction("clearNotifications", i18n("Clear Notifications"), "edit-clear")
plasmoid.setAction("clearNotifications", i18n("Clear Notifications"), "edit-clear-history")
var clearAction = plasmoid.action("clearNotifications");
clearAction.visible = Qt.binding(function() {
return notificationsApplet.notifications && (notificationsApplet.notifications.count > 0 || notificationsApplet.notifications.historyCount > 0);
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