Merge lp:~larsu/ubuntu-system-settings/dont-use-statusicon into lp:ubuntu-system-settings

Proposed by Lars Karlitski
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 964
Merged at revision: 1049
Proposed branch: lp:~larsu/ubuntu-system-settings/dont-use-statusicon
Merge into: lp:ubuntu-system-settings
Diff against target: 28 lines (+3/-2)
2 files modified
debian/control (+1/-1)
src/qml/EntryComponent.qml (+2/-1)
To merge this branch: bzr merge lp:~larsu/ubuntu-system-settings/dont-use-statusicon
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Sebastien Bacher (community) Approve
Review via email: mp+232540@code.launchpad.net

Commit message

Use Icon instead of StatusIcon

The latter is deprecated.

Description of the change

Use Icon instead of StatusIcon

Depends on lp:~larsu/ubuntu-ui-toolkit/custom-icon-lookup which has the updated icon provider. I've also already removed StatusIcon in lp:~larsu/ubuntu-settings-components/remove-icon-lookup-hack.

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, since it depends on a toolkit update we should update you depends on it (let's wait for an uitk update including the change so we know what version to use)

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Lars Karlitski (larsu) wrote :

The patch landed in ubuntu-ui-toolkit. I've bumped the dependency in this branch.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

The toolkit changes landed in https://launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/1.1.1239+14.10.20140908-0ubuntu1 , can you update the depends version to match that?

Note that the version you added the end of the line is wrong (it's after the "," and doesn't include ">="

review: Needs Fixing
Revision history for this message
Sebastien Bacher (seb128) wrote :

the icons are misplaced also, seems like you need to add "width: height" to the Icon {} section

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks (CI failed but it doesn't seem to be due to the changes here, I retried it)

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-09-11 19:31:43 +0000
3+++ debian/control 2014-09-12 16:11:51 +0000
4@@ -69,7 +69,7 @@
5 qtdeclarative5-systeminfo-plugin,
6 qtdeclarative5-ubuntu-content1,
7 qtdeclarative5-ubuntu-settings-components (> 0.2),
8- qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 0.1.46+14.10.20140502.6-0ubuntu1) | qtdeclarative5-ubuntu-ui-toolkit-plugin-gles,
9+ qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.1.1239) | qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.1.1239),
10 suru-icon-theme,
11 whoopsie-preferences (>= 0.9),
12 libsystemsettings1 (= ${binary:Version}),
13
14=== modified file 'src/qml/EntryComponent.qml'
15--- src/qml/EntryComponent.qml 2014-08-27 20:35:48 +0000
16+++ src/qml/EntryComponent.qml 2014-09-12 16:11:51 +0000
17@@ -44,9 +44,10 @@
18 anchors.left: parent.left
19 anchors.right: parent.right
20
21- StatusIcon {
22+ Icon {
23 id: icon
24 anchors.horizontalCenter: parent.horizontalCenter
25+ width: height
26 height: units.gu(4)
27 source: model.icon
28 }

Subscribers

People subscribed via source and target branches