@@ -27,14 +27,6 @@ Item {
27 width: units.gu(80)
27 width: units.gu(80)
28 height: units.gu(80)
28 height: units.gu(80)
30− // BEGIN To reduce warnings
31− // TODO I think it we should pass down these variables
32− // as needed instead of hoping they will be globally around
33− property var greeter: null
34− property var panel: null
35− // BEGIN To reduce warnings
40 height: root.height
32 height: root.height
@@ -61,6 +53,9 @@ Item {
61 readonly property var scopes: dashContent.scopes
53 readonly property var scopes: dashContent.scopes
63 function init() {
55 function init() {
56+ var greeter = findChild(shell, "greeter");
64 // clear and reload the scopes.
59 // clear and reload the scopes.
65 scopes.clear();
60 scopes.clear();
66 var dashContentList = findChild(dash, "dashContentList");
61 var dashContentList = findChild(dash, "dashContentList");