Merge lp:~michael-sheldon/ubuntu-system-settings/fix-wallpaper-preview into lp:ubuntu-system-settings

Proposed by Michael Sheldon
Status: Merged
Approved by: Ken VanDine
Approved revision: 1775
Merged at revision: 1775
Proposed branch: lp:~michael-sheldon/ubuntu-system-settings/fix-wallpaper-preview
Merge into: lp:ubuntu-system-settings
Diff against target: 40 lines (+8/-3)
2 files modified
plugins/background/Preview.qml (+8/-2)
tests/autopilot/ubuntu_system_settings/tests/ofono.py (+0/-1)
To merge this branch: bzr merge lp:~michael-sheldon/ubuntu-system-settings/fix-wallpaper-preview
Reviewer Review Type Date Requested Status
system-apps-ci-bot continuous-integration Approve
Ubuntu Touch System Settings Pending
Review via email: mp+321234@code.launchpad.net

Commit message

Stop wallpaper preview overlapping buttons and fix flake8 test.

Description of the change

Stop wallpaper preview overlapping buttons and fix flake8 test.

To post a comment you must log in.
Revision history for this message
system-apps-ci-bot (system-apps-ci-bot) wrote :

PASSED: Continuous integration, rev:1775
https://jenkins.canonical.com/system-apps/job/lp-ubuntu-system-settings-ci/26/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build/2364
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-0-fetch/2364
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2181
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=xenial+overlay/2181/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=zesty/2181
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=zesty/2181/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2181
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=xenial+overlay/2181/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=zesty/2181
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=zesty/2181/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=xenial+overlay/2181
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=xenial+overlay/2181/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=zesty/2181
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=zesty/2181/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/system-apps/job/lp-ubuntu-system-settings-ci/26/rebuild

review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/background/Preview.qml'
2--- plugins/background/Preview.qml 2017-01-12 12:38:45 +0000
3+++ plugins/background/Preview.qml 2017-03-28 23:45:02 +0000
4@@ -70,7 +70,12 @@
5
6 Image {
7 id: previewImage
8- anchors.fill: parent
9+ anchors {
10+ top: parent.top
11+ left: parent.left
12+ right: parent.right
13+ bottom: divider.top
14+ }
15 source: uri
16 sourceSize.height: height
17 sourceSize.width: 0
18@@ -78,8 +83,9 @@
19 }
20
21 ListItem.ThinDivider {
22+ id: divider
23 anchors.bottom: previewButtons.top
24- anchors.bottomMargin: units.gu(1)
25+ anchors.bottomMargin: units.gu(2)
26 }
27
28 ListItem.Base {
29
30=== modified file 'tests/autopilot/ubuntu_system_settings/tests/ofono.py'
31--- tests/autopilot/ubuntu_system_settings/tests/ofono.py 2015-08-10 11:01:34 +0000
32+++ tests/autopilot/ubuntu_system_settings/tests/ofono.py 2017-03-28 23:45:02 +0000
33@@ -357,7 +357,6 @@
34 'LineIdentification': dbus.String(number, variant_level=1),
35 'Name': dbus.String('', variant_level=1),
36 'Multiparty': dbus.Boolean(False, variant_level=1),
37- 'Multiparty': dbus.Boolean(False, variant_level=1),
38 'RemoteHeld': dbus.Boolean(False, variant_level=1),
39 'RemoteMultiparty': dbus.Boolean(False, variant_level=1),
40 'Emergency': dbus.Boolean(False, variant_level=1),

Subscribers

People subscribed via source and target branches