Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ad9ec635 authored by Nate Graham's avatar Nate Graham 🔩

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:
{F6100570}
{F6103810}

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

Reviewers: broulik, Fuchs, #plasma, davidedmundson

Reviewed By: Fuchs, #plasma, davidedmundson

Subscribers: Zren, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14105
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);
......
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