on xenial help sign in
removed gradient theme. Created binding loop in MainView
4700faeNick Dedekind
Panel/MenuContentTabs.qml+1−7
@@ -24,18 +24,12 @@ MainView {
24
24
25 property QtObject indicatorsModel: null
25 property QtObject indicatorsModel: null
26 property alias currentMenuIndex : tabs.selectedTabIndex
26 property alias currentMenuIndex : tabs.selectedTabIndex
27− property color backgroundColor: "#221e1c"
27+ backgroundColor: "#221e1c"
28 property int contentReleaseInterval: 20000
28 property int contentReleaseInterval: 20000
29
29
30 width: units.gu(40)
30 width: units.gu(40)
31 height: units.gu(42)
31 height: units.gu(42)
32
32
33− // FIXME: *grumble* MainView is locked to style with a background. OVERRIDE!!
34− Rectangle {
35− anchors.fill: parent
36− color: backgroundColor
37− }
38−
39 QtObject {
33 QtObject {
40 id: d
34 id: d
41 property bool contentActive: false
35 property bool contentActive: false
Shell.qml−2
@@ -62,8 +62,6 @@ FocusScope {
62 property var applicationManager: ApplicationManagerWrapper {}
62 property var applicationManager: ApplicationManagerWrapper {}
63
63
64 Component.onCompleted: {
64 Component.onCompleted: {
65− Theme.name = "Ubuntu.Components.Themes.SuruGradient"
66−
67 applicationManager.sideStageEnabled = Qt.binding(function() { return sideStage.enabled })
65 applicationManager.sideStageEnabled = Qt.binding(function() { return sideStage.enabled })
68
66
69 // FIXME: if application focused before shell starts, shell draws on top of it only.
67 // FIXME: if application focused before shell starts, shell draws on top of it only.