@@ -20,6 +20,7 @@ import ".."
20import "../../../Notifications"
20import "../../../Notifications"
21import Ubuntu.Components 0.1
21import Ubuntu.Components 0.1
22import Unity.Test 0.1
22import Unity.Test 0.1
23+import Unity.Notifications 1.0
25 id: rootRow
26 id: rootRow
@@ -30,7 +31,7 @@ Row {
31 function addSnapDecisionNotification() {
32 function addSnapDecisionNotification() {
33− type: "Notifications.Type.SnapDecision",
34+ type: Notification.SnapDecision,
34 summary: "Tom Ato",
35 summary: "Tom Ato",
35 body: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",
36 body: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",
36 icon: "../graphics/avatars/funky.png",
37 icon: "../graphics/avatars/funky.png",
@@ -44,7 +45,7 @@ Row {
45 function addEphemeralNotification() {
46 function addEphemeralNotification() {
47− type: "Notifications.Type.Ephemeral",
48+ type: Notification.Ephemeral,
48 summary: "Cole Raby",
49 summary: "Cole Raby",
49 body: "I did not expect it to be that late.",
50 body: "I did not expect it to be that late.",
50 icon: "../graphics/avatars/amanda.png",
51 icon: "../graphics/avatars/amanda.png",
@@ -57,7 +58,7 @@ Row {
58 function addEphemeralIconSummaryNotification() {
59 function addEphemeralIconSummaryNotification() {
60− type: "Notifications.Type.Ephemeral",
61+ type: Notification.Ephemeral,
61 summary: "Photo upload completed",
62 summary: "Photo upload completed",
@@ -70,7 +71,7 @@ Row {
71 function addInteractiveNotification() {
72 function addInteractiveNotification() {
73− type: "Notifications.Type.Interactive",
74+ type: Notification.Interactive,
74 summary: "Interactive notification",
75 summary: "Interactive notification",
75 body: "This is a notification that can be clicked",
76 body: "This is a notification that can be clicked",
76 icon: "../graphics/avatars/anna_olsson.png",
77 icon: "../graphics/avatars/anna_olsson.png",
@@ -170,7 +171,7 @@ Row {
172 tag: "Snap Decision with secondary icon",
173 tag: "Snap Decision with secondary icon",
173− type: "Notifications.Type.SnapDecision",
174+ type: Notification.SnapDecision,
174 summary: "Tom Ato",
175 summary: "Tom Ato",
175 body: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",
176 body: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",
176 icon: "../graphics/avatars/funky.png",
177 icon: "../graphics/avatars/funky.png",
@@ -186,7 +187,7 @@ Row {
188 tag: "Ephemeral notification - icon-summary layout",
189 tag: "Ephemeral notification - icon-summary layout",
189− type: "Notifications.Type.Ephemeral",
190+ type: Notification.Ephemeral,
190 summary: "Photo upload completed",
191 summary: "Photo upload completed",
191 body: "",
192 body: "",
192 icon: "",
193 icon: "",
@@ -201,7 +202,7 @@ Row {
203 tag: "Ephemeral notification - check suppression of secondary icon for icon-summary layout",
204 tag: "Ephemeral notification - check suppression of secondary icon for icon-summary layout",
204− type: "Notifications.Type.Ephemeral",
205+ type: Notification.Ephemeral,
205 summary: "New comment successfully published",
206 summary: "New comment successfully published",
206 body: "",
207 body: "",
207 icon: "",
208 icon: "",
@@ -216,7 +217,7 @@ Row {
218 tag: "Interactive notification",
219 tag: "Interactive notification",
219− type: "Notifications.Type.Interactive",
220+ type: Notification.Interactive,
220 summary: "Interactive notification",
221 summary: "Interactive notification",
221 body: "This is a notification that can be clicked",
222 body: "This is a notification that can be clicked",
222 icon: "../graphics/avatars/amanda.png",
223 icon: "../graphics/avatars/amanda.png",
@@ -231,7 +232,7 @@ Row {
233 tag: "Snap Decision without secondary icon",
234 tag: "Snap Decision without secondary icon",
234− type: "Notifications.Type.SnapDecision",
235+ type: Notification.SnapDecision,
235 summary: "Bro Coly",
236 summary: "Bro Coly",
236 body: "At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
237 body: "At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
237 icon: "../graphics/avatars/anna_olsson.png",
238 icon: "../graphics/avatars/anna_olsson.png",
@@ -247,7 +248,7 @@ Row {
249 tag: "Ephemeral notification",
250 tag: "Ephemeral notification",
250− type: "Notifications.Type.Ephemeral",
251+ type: Notification.Ephemeral,
251 summary: "Cole Raby",
252 summary: "Cole Raby",
252 body: "I did not expect it to be that late.",
253 body: "I did not expect it to be that late.",
253 icon: "../graphics/avatars/funky.png",
254 icon: "../graphics/avatars/funky.png",