on xenial help sign in
Make Notification-frontend use the QVariantMap-based hints now.
commit1f452eb0d7f1e7c95f811be648318ff9f4de3700 authorMirco Müller <mirco.mueller@ubuntu.com> dateTue 10 Sep 2013, 14:43 (13 years ago) parent8b02a3b
1 file changed+1−1
Notifications/Notification.qml+1−1
Notifications/Notification.qml+1−1
@@ -195,7 +195,7 @@ UbuntuShape {
195195 top: parent.top
196196 bottom: parent.bottom
197197 }
198− gradient: notification.hints == Notification.ButtonTint ? UbuntuColors.orangeGradient : UbuntuColors.greyGradient
198+ gradient: notification.hints["x-canonical-private-button-tint"] == "true" ? UbuntuColors.orangeGradient : UbuntuColors.greyGradient
199199 visible: width > 0
200200 onClicked: notification.notification.invokeAction(actionRepeater.itemAt(0).actionId)
201201 }