Merge lp:~larsu/ubuntu-settings-components/remove-icon-lookup-hack into lp:~registry/ubuntu-settings-components/trunk
Status: | Needs review |
---|---|
Proposed branch: | lp:~larsu/ubuntu-settings-components/remove-icon-lookup-hack |
Merge into: | lp:~registry/ubuntu-settings-components/trunk |
Diff against target: |
279 lines (+0/-240) 5 files modified
SettingsComponents.qml (+0/-29) Ubuntu/Settings/Components/StatusIcon.qml (+0/-129) Ubuntu/Settings/Components/qmldir (+0/-1) tests/qmltests/CMakeLists.txt (+0/-1) tests/qmltests/Components/tst_StatusIcon.qml (+0/-80) |
To merge this branch: | bzr merge lp:~larsu/ubuntu-settings-components/remove-icon-lookup-hack |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity8 CI Bot (community) | continuous-integration | Needs Fixing | |
PS Jenkins bot (community) | continuous-integration | Approve | |
Michał Sawicz (community) | Needs Resubmitting | ||
Review via email: mp+232116@code.launchpad.net |
Commit message
StatusIcon: remove icon loading hack
StatusIcon loads icons itself to make sure rectangular icons preserve their aspect ratio. It doesn't follow the fdo spec for this, but hard-codes some of the suru icon theme subdirectories. This breaks when someone requests an icon from a different subdirectory or doesn't have suru installed in /usr/share.
UnityThemeIconP
Description of the change
StatusIcon: remove icon loading hack
This depends on lp:~larsu/ubuntu-ui-toolkit/custom-icon-lookup.
Unmerged revisions
- 77. By Lars Karlitski
-
Remove StatusIcon
It worked around the fact that rectangular icons didn't work. The image
provider in ubuntu-ui-toolkit supports those now and people can just use its
Icon component instead. - 76. By Lars Karlitski
-
StatusIcon: remove icon loading hack
StatusIcon loads icons itself to make sure rectangular icons preserve their
aspect ratio. It doesn't follow the fdo spec for this, but hard-codes some of
the suru icon theme subdirectories. This breaks when someone requests an icon
from a different subdirectory or doesn't have suru installed in /usr/share.UnityThemeIconP
rovider supports rectangular icons now, making this workaround
unnecessary.
FAILED: Continuous integration, rev:76 jenkins. qa.ubuntu. com/job/ ubuntu- settings- components- ci/78/ jenkins. qa.ubuntu. com/job/ ubuntu- settings- components- qmltests- utopic/ 36 jenkins. qa.ubuntu. com/job/ ubuntu- settings- components- utopic- amd64-ci/ 40 jenkins. qa.ubuntu. com/job/ ubuntu- settings- components- utopic- armhf-ci/ 40
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- settings- components- ci/78/rebuild
http://