@@ -27,6 +27,8 @@ import "Components"
27import "Greeter"
27import "Greeter"
28import "Launcher"
28import "Launcher"
29import "Panel"
29import "Panel"
30+import "Notifications"
31+import Unity.Notifications 1.0 as NotificationBackend
31BasicShell {
33BasicShell {
@@ -199,6 +201,39 @@ BasicShell {
200 onDashItemSelected: greeter.show()
202 onDashItemSelected: greeter.show()
208+ model: NotificationBackend.Model
212+ bottom: parent.bottom
213+ leftMargin: units.gu(1)
214+ rightMargin: units.gu(1)
215+ topMargin: panel.panelHeight + units.gu(1)
220+ when: overlay.width <= units.gu(60)
221+ AnchorChanges { target: notifications; anchors.left: parent.left }
225+ when: overlay.width > units.gu(60)
226+ AnchorChanges { target: notifications; anchors.left: undefined }
227+ PropertyChanges { target: notifications; width: units.gu(38) }
232+ anchors { left: parent.left; right: parent.right }
233+ height: parent.contentHeight
234+ blockInput: height > 0
204 Connections {
239 Connections {