Add tooltips to the "dismiss" buttons for notifications

Summary: It also makes it clearer that the top line is not a notification, but a header.

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: #kde_connect

Differential Revision: https://phabricator.kde.org/D11646
This commit is contained in:
Matthijs Tijink 2018-03-24 15:31:10 +01:00
parent 0c560d9062
commit 749351ec64

View file

@ -206,6 +206,7 @@ PlasmaComponents.ListItem
visible: notificationsModel.isAnyDimissable;
anchors.right: parent.right
iconSource: "window-close"
tooltip: i18n("Dismiss all notifications")
onClicked: notificationsModel.dismissAll();
}
}
@ -241,6 +242,7 @@ PlasmaComponents.ListItem
enabled: repliable
anchors.right: dismissButton.left
iconSource: "mail-reply-sender"
tooltip: i18n("Reply")
onClicked: dbusInterface.reply();
}
PlasmaComponents.ToolButton {
@ -249,6 +251,7 @@ PlasmaComponents.ListItem
enabled: dismissable
anchors.right: parent.right
iconSource: "window-close"
tooltip: i18n("Dismiss")
onClicked: dbusInterface.dismiss();
}
}