@@ -49,7 +49,7 @@ Item {
4949 readonly property color sdFontColor: "#5d5d5d"
5050 readonly property real contentSpacing: units.gu(2)
5151 readonly property bool canBeClosed: type === Notification.Ephemeral
52− property bool clickToClose
52+ property bool hasMouse
5353
5454 objectName: "background"
5555 implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight : outterColumn.height - shapedBack.anchors.topMargin + contentSpacing * 2) : 0
@@ -217,7 +217,7 @@ Item {
217217 onClicked: {
218218 if (notification.type == Notification.Interactive) {
219219 notification.notification.invokeAction(actionRepeater.itemAt(0).actionId)
220− } else if (clickToClose && canBeClosed) {
220+ } else if (hasMouse && canBeClosed) {
221221 notification.notification.close()
222222 } else {
223223 notificationList.currentIndex = index;
@@ -442,7 +442,7 @@ Item {
442442 objectName: "notify_oot_button" + index
443443 width: oneOverTwoCase.width
444444 text: oneOverTwoLoaderTop.actionLabel
445− color: index == 1 && notification.hints["x-canonical-private-rejection-tint"] == "true" ? red : sdDarkGrey
445+ color: notification.hints["x-canonical-private-rejection-tint"] == "true" ? red : sdDarkGrey
446446 onClicked: notification.notification.invokeAction(oneOverTwoLoaderTop.actionId)
447447 }
448448 }
@@ -470,7 +470,7 @@ Item {
470470 objectName: "notify_oot_button" + index
471471 width: oneOverTwoCase.width / 2 - spacing * 2
472472 text: oneOverTwoLoaderBottom.actionLabel
473− color: index == 1 && notification.hints["x-canonical-private-rejection-tint"] === "true" ? red : sdDarkGrey
473+ color: index == 1 && notification.hints["x-canonical-private-rejection-tint"] == "true" ? red : sdDarkGrey
474474 onClicked: notification.notification.invokeAction(oneOverTwoLoaderBottom.actionId)
475475 }
476476 }
@@ -490,7 +490,7 @@ Item {
490490 margins: contentSpacing
491491 }
492492 visible: notification.type === Notification.SnapDecision && actionRepeater.count > 0 && !oneOverTwoCase.visible
493− spacing: units.gu(2)
493+ spacing: contentSpacing
494494 layoutDirection: Qt.RightToLeft
495495
496496 Loader {
@@ -502,7 +502,7 @@ Item {
502502 width: buttonRow.width
503503 leftIconName: "call-end"
504504 rightIconName: "call-start"
505− clickToAct: notification.clickToClose
505+ clickToAct: notification.hasMouse
506506 onRightTriggered: {
507507 notification.notification.invokeAction(notification.actions.data(0, ActionModel.RoleActionId))
508508 }