@@ -24,7 +24,7 @@ Item {
24 height: units.gu(71)
24 height: units.gu(71)
26 property var model: null
26 property var model: null
27− property var lenses: null
27+ property var scopes: null
28 property real contentProgress: Math.max(0, Math.min(dashContentList.contentX / (dashContentList.contentWidth - dashContentList.width), units.dp(1)))
28 property real contentProgress: Math.max(0, Math.min(dashContentList.contentX / (dashContentList.contentWidth - dashContentList.width), units.dp(1)))
29 property alias currentIndex: dashContentList.currentIndex
29 property alias currentIndex: dashContentList.currentIndex
@@ -36,13 +36,13 @@ Item {
36 signal lensLoaded(string lensId)
36 signal lensLoaded(string lensId)
37 signal positionedAtBeginning()
37 signal positionedAtBeginning()
39− // If we set the current lens index before the lenses have been added,
39+ // If we set the current lens index before the scopes have been added,
40− // then we need to wait until the loaded signals gets emitted from the lenses
40+ // then we need to wait until the loaded signals gets emitted from the scopes
41 property var set_current_index: undefined
41 property var set_current_index: undefined
42 Connections {
42 Connections {
43− target: lenses
43+ target: scopes
44 onLoadedChanged: {
44 onLoadedChanged: {
45− if (lenses.loaded && set_current_index != undefined) {
45+ if (scopes.loaded && set_current_index != undefined) {
46 setCurrentLensAtIndex(set_current_index[0], set_current_index[1], set_current_index[2]);
46 setCurrentLensAtIndex(set_current_index[0], set_current_index[1], set_current_index[2]);
47 set_current_index = undefined;
47 set_current_index = undefined;
@@ -57,8 +57,8 @@ Item {
57 dashContentList.highlightMoveDuration = 0
57 dashContentList.highlightMoveDuration = 0
60− // if the lenses haven't loaded yet, then wait until they are.
60+ // if the scopes haven't loaded yet, then wait until they are.
61− if (!lenses.loaded) {
61+ if (!scopes.loaded) {
62 set_current_index = [ index, animate, reset ]
62 set_current_index = [ index, animate, reset ]
@@ -79,12 +79,10 @@ Item {
82− /* FIXME: applications.lens and home.lens are effectively disabled for now */
83 property var lensDelegateMapping: {"mockmusic.scope": "DashMusic.qml",
82 property var lensDelegateMapping: {"mockmusic.scope": "DashMusic.qml",
84− "applications.lens": "DashApps.qml",
83+ "applications.scope": "DashApps.qml",
85− "home.lens": "DashHome.qml",
84+ "home.scope": "DashHome.qml",
86 "mockvideos.scope": "DashVideos.qml",
85 "mockvideos.scope": "DashVideos.qml",
87− "people.lens": "DashPeople.qml",
89 property string genericLens: "GenericLensView.qml"
87 property string genericLens: "GenericLensView.qml"
@@ -92,7 +90,7 @@ Item {
92 id: dashContentList
90 id: dashContentList
93 objectName: "dashContentList"
91 objectName: "dashContentList"
95− interactive: dashContent.lenses.loaded
93+ interactive: dashContent.scopes.loaded
97 anchors.fill: parent
95 anchors.fill: parent
98 model: dashContent.model
96 model: dashContent.model