@@ -41,13 +41,16 @@ UbuntuShape {
42 Repeater {
42 Repeater {
43 id: actionRepeater
43 id: actionRepeater
44− model: actions
44+ model: notification.actions
47 anchors.fill: contentColumn
47 anchors.fill: contentColumn
48 objectName: "interactiveArea"
48 objectName: "interactiveArea"
49 enabled: notification.type == Notification.Interactive
49 enabled: notification.type == Notification.Interactive
50− onClicked: notification.notification.invokeAction(actionRepeater.model.actionId(0))
51+ notification.notification.invokeAction(actionRepeater.model.get(0).id)
52+ actionInvoked(actionRepeater.model.get(0).id)
@@ -153,7 +156,10 @@ UbuntuShape {
153 width: (buttonRow.width - buttonRow.spacing) / 2
156 width: (buttonRow.width - buttonRow.spacing) / 2
154 height: units.gu(4)
157 height: units.gu(4)
155 text: label
158 text: label
156− onClicked: notification.notification.invokeAction(id)
160+ notification.notification.invokeAction(id)