Merge lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-icon-fix into lp:ubuntu-calculator-app

Proposed by Bartosz Kosiorek
Status: Merged
Approved by: Bartosz Kosiorek
Approved revision: 244
Merged at revision: 245
Proposed branch: lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-icon-fix
Merge into: lp:ubuntu-calculator-app
Diff against target: 29 lines (+3/-7)
2 files modified
app/ubuntu-calculator-app.qml (+2/-6)
ubuntu-calculator-app.apparmor (+1/-1)
To merge this branch: bzr merge lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-icon-fix
Reviewer Review Type Date Requested Status
Jenkins Bot continuous-integration Approve
Riccardo Padovani Needs Fixing
Review via email: mp+278818@code.launchpad.net

Commit message

Workaround for missing icons errors

Description of the change

Workaround for missing icons errors

To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

Seems the merge of my branch with trunk went wrong :/

Please see [0].

You need to drop your comments and replace iconName with

iconName: visualModel.selectedItems.count < visualModel.items.count ?
                                        "select" : "select-none"

See the diff of the commit linked to see how replace it, thanks

[0]: https://bazaar.launchpad.net/~rpadovani/ubuntu-calculator-app/dropCustomIcons/revision/237

review: Needs Fixing
244. By Bartosz Kosiorek

Post review fix

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) 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 'app/ubuntu-calculator-app.qml'
2--- app/ubuntu-calculator-app.qml 2015-11-25 08:08:41 +0000
3+++ app/ubuntu-calculator-app.qml 2015-11-28 20:37:49 +0000
4@@ -309,12 +309,8 @@
5 Action {
6 id: selectAllAction
7 objectName: "selectAllAction"
8- iconName: "select"
9- // Until a select none icon will be added to the theme we have to use
10- // our own
11- iconSource: visualModel.selectedItems.count < visualModel.items.count ?
12- Qt.resolvedUrl("graphics/select.svg") :
13- Qt.resolvedUrl("graphics/select_none.svg")
14+ iconName: visualModel.selectedItems.count < visualModel.items.count ?
15+ "select" : "select-none"
16 text: visualModel.selectedItems.count < visualModel.items.count ?
17 i18n.tr("Select All") : i18n.tr("Select None")
18 onTriggered: visualModel.selectAll()
19
20=== modified file 'ubuntu-calculator-app.apparmor'
21--- ubuntu-calculator-app.apparmor 2014-11-10 09:28:27 +0000
22+++ ubuntu-calculator-app.apparmor 2015-11-28 20:37:49 +0000
23@@ -1,5 +1,5 @@
24 {
25 "policy_groups": [
26 ],
27- "policy_version": 1.2
28+ "policy_version": 1.3
29 }

Subscribers

People subscribed via source and target branches