@@ -317,6 +317,74 @@ Item {
326+ margins: contentSpacing
329+ spacing: contentSpacing
331+ visible: notification.type == Notification.SnapDecision && oneOverTwoRepeaterTop.count == 3
334+ id: oneOverTwoRepeaterTop
336+ model: notification.actions
338+ id: oneOverTwoLoaderTop
340+ property string actionId: id
341+ property string actionLabel: label
344+ id: oneOverTwoButtonTop
347+ objectName: "button" + index
348+ width: oneOverTwoCase.width
349+ text: oneOverTwoLoaderTop.actionLabel
350+ color: notification.hints["x-canonical-private-affirmative-tint"] == "true" ? green : sdDarkGrey
351+ onClicked: notification.notification.invokeAction(oneOverTwoLoaderTop.actionId)
354+ sourceComponent: index == 0 ? oneOverTwoButtonTop : undefined
359+ spacing: contentSpacing
362+ id: oneOverTwoRepeaterBottom
364+ model: notification.actions
366+ id: oneOverTwoLoaderBottom
368+ property string actionId: id
369+ property string actionLabel: label
372+ id: oneOverTwoButtonBottom
375+ objectName: "button" + index
376+ width: oneOverTwoCase.width / 2 - spacing * 2
377+ text: oneOverTwoLoaderBottom.actionLabel
378+ color: index == 1 && notification.hints["x-canonical-private-rejection-tint"] == "true" ? red : sdDarkGrey
379+ onClicked: notification.notification.invokeAction(oneOverTwoLoaderBottom.actionId)
382+ sourceComponent: (index == 1 || index == 2) ? oneOverTwoButtonBottom : undefined
321 id: buttonRow
389 id: buttonRow
@@ -326,7 +394,7 @@ Item {
326 right: parent.right
394 right: parent.right
327 margins: contentSpacing
395 margins: contentSpacing
329− visible: notification.type == Notification.SnapDecision && actionRepeater.count > 0
397+ visible: notification.type == Notification.SnapDecision && actionRepeater.count > 0 && !oneOverTwoCase.visible
330 spacing: units.gu(2)
398 spacing: units.gu(2)
331 layoutDirection: Qt.RightToLeft
399 layoutDirection: Qt.RightToLeft
@@ -376,7 +444,7 @@ Item {
376 margins: contentSpacing
444 margins: contentSpacing
379− visible: notification.type == Notification.SnapDecision && actionRepeater.count > 3
447+ visible: notification.type == Notification.SnapDecision && actionRepeater.count > 3 && !oneOverTwoCase.visible
380 color: sdDarkGrey
448 color: sdDarkGrey
381 onClicked: notification.notification.invokeAction(comboRepeater.itemAt(2).actionId)
449 onClicked: notification.notification.invokeAction(comboRepeater.itemAt(2).actionId)
382 expanded: false
450 expanded: false