@@ -34,6 +34,7 @@ import "Notifications"
3434import "Stages"
3535import Unity.Notifications 1.0 as NotificationBackend
3636import Unity.Session 0.1
37+import Unity.DashCommunicator 0.1
3738
3839Item {
3940 id: shell
@@ -83,6 +84,10 @@ Item {
8384 id: volumeControl
8485 }
8586
87+ DashCommunicator {
88+ id: dash
89+ }
90+
8691 WindowKeysFilter {
8792 // Handle but do not filter out volume keys
8893 Keys.onVolumeUpPressed: { volumeControl.volumeUp(); event.accepted = false; }
@@ -574,9 +579,8 @@ Item {
574579 greeter.hide()
575580 }
576581
577− // FIXME: IPC to dash-app needed?
578− //var animate = !LightDM.Greeter.active && !stages.shown
579− //dash.setCurrentScope("clickscope", animate, false)
582+ var animate = !LightDM.Greeter.active && !stages.shown
583+ dash.setCurrentScope("clickscope", animate, false)
580584 ApplicationManager.requestFocusApplication("unity8-dash")
581585 }
582586
@@ -638,8 +642,7 @@ Item {
638642
639643 onShowDashHome: showHome()
640644 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)
643646 onLauncherApplicationSelected: {
644647 if (greeter.fakeActiveForApp !== "") {
645648 lockscreen.show()