@@ -34,6 +34,7 @@ import "Notifications"
34import "Stages"
34import "Stages"
35import Unity.Notifications 1.0 as NotificationBackend
35import Unity.Notifications 1.0 as NotificationBackend
36import Unity.Session 0.1
36import Unity.Session 0.1
37+import Unity.DashCommunicator 0.1
@@ -83,6 +84,10 @@ Item {
83 id: volumeControl
84 id: volumeControl
86 WindowKeysFilter {
91 WindowKeysFilter {
87 // Handle but do not filter out volume keys
92 // Handle but do not filter out volume keys
88 Keys.onVolumeUpPressed: { volumeControl.volumeUp(); event.accepted = false; }
93 Keys.onVolumeUpPressed: { volumeControl.volumeUp(); event.accepted = false; }
@@ -574,9 +579,8 @@ Item {
574 greeter.hide()
579 greeter.hide()
577− // FIXME: IPC to dash-app needed?
578− //var animate = !LightDM.Greeter.active && !stages.shown
582+ var animate = !LightDM.Greeter.active && !stages.shown
579− //dash.setCurrentScope("clickscope", animate, false)
583+ dash.setCurrentScope("clickscope", animate, false)
580 ApplicationManager.requestFocusApplication("unity8-dash")
584 ApplicationManager.requestFocusApplication("unity8-dash")
@@ -638,8 +642,7 @@ Item {
639 onShowDashHome: showHome()
643 onShowDashHome: showHome()
640 onDash: showDash()
644 onDash: showDash()
641− // FIXME: IPC to dash-app needed?
642−// onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("clickscope", false, true)
645+ onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("clickscope", false, true)
643 onLauncherApplicationSelected: {
646 onLauncherApplicationSelected: {
644 if (greeter.fakeActiveForApp !== "") {
647 if (greeter.fakeActiveForApp !== "") {
645 lockscreen.show()
648 lockscreen.show()