on xenial help sign in
make indicator tests use the right (dark) theme
commit6906b41c2c7eab535ac5257748ae1dfb3bf99ad0 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 16 Mar 2016, 21:43 (11 years ago) parentb4ac465
3 files changed+2−3
tests/qmltests/Panel/IndicatorTest.qml+2−1 tests/qmltests/Panel/tst_IndicatorItemRow.qml−1 tests/qmltests/Panel/tst_IndicatorsMenu.qml−1
tests/qmltests/Panel/IndicatorTest.qml+2−1
@@ -24,7 +24,8 @@ import Unity.Indicators 0.1 as Indicators
2424
2525Rectangle {
2626 id: root
27− color: "white"
27+ color: theme.palette.normal.background
28+ Component.onCompleted: theme.name = "Ubuntu.Components.Themes.SuruDark"
2829
2930 property alias indicatorsModel: __indicatorsModel
3031 property alias originalModelData: __indicatorsModel.originalModelData
tests/qmltests/Panel/tst_IndicatorItemRow.qml−1
@@ -26,7 +26,6 @@ IndicatorTest {
2626 id: root
2727 width: units.gu(120)
2828 height: units.gu(40)
29− color: "white"
3029
3130 RowLayout {
3231 anchors.fill: parent
tests/qmltests/Panel/tst_IndicatorsMenu.qml−1
@@ -26,7 +26,6 @@ IndicatorTest {
2626 id: root
2727 width: units.gu(80)
2828 height: units.gu(71)
29− color: "white"
3029
3130 RowLayout {
3231 anchors.fill: parent