@@ -15,6 +15,7 @@
1515 */
1616
1717import QtQuick 2.0
18+import Dash 0.1
1819import Ubuntu.Components 0.1
1920import "../Components"
2021
@@ -54,12 +55,6 @@ Item {
5455
5556 // Internal properties
5657 property bool forceXYScalerEater: false
57− property QtObject scopeStyle: QtObject {
58− property string headerLogo: ""
59− property color foreground: "white"
60− property color background: "transparent"
61− }
62−
6358
6459 signal done()
6560 signal favoriteSelected(var scopeId)
@@ -122,6 +117,11 @@ Item {
122117 }
123118 }
124119
120+ ScopeStyle {
121+ id: overviewScopeStyle
122+ style: { "foreground-color" : "white", "background-color" : "transparent" }
123+ }
124+
125125 DashBackground {
126126 anchors.fill: parent
127127 Rectangle {
@@ -167,7 +167,7 @@ Item {
167167 width: parent.width
168168 clip: true
169169 title: i18n.tr("Manage Dash")
170− scopeStyle: root.scopeStyle
170+ scopeStyle: overviewScopeStyle
171171 showSignatureLine: false
172172 searchEntryEnabled: true
173173 searchInProgress: root.scope ? root.scope.searchInProgress : false
@@ -304,7 +304,7 @@ Item {
304304 bottom: parent.bottom
305305 }
306306 scope: root.scope && root.scope.searchQuery != "" ? root.scope : null
307− scopeStyle: root.scopeStyle
307+ scopeStyle: overviewScopeStyle
308308 enabled: opacity == 1
309309 showPageHeader: false
310310 clip: true
@@ -375,7 +375,7 @@ Item {
375375 id: previewListView
376376 objectName: "scopesOverviewPreviewListView"
377377 scope: root.scope
378− scopeStyle: root.scopeStyle
378+ scopeStyle: overviewScopeStyle
379379 visible: x != width
380380 width: parent.width
381381 height: parent.height