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

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Alan Pope 🍺🐧🐱 πŸ¦„
Approved revision: 316
Merged at revision: 315
Proposed branch: lp:~renatofilho/ubuntu-calculator-app/fix-icon-snap
Merge into: lp:ubuntu-calculator-app
Diff against target: 12 lines (+1/-1)
1 file modified
setup/gui/ubuntu-calculator-app.desktop (+1/-1)
To merge this branch: bzr merge lp:~renatofilho/ubuntu-calculator-app/fix-icon-snap
Reviewer Review Type Date Requested Status
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Approve
Jenkins Bot continuous-integration Approve
Review via email: mp+311401@code.launchpad.net

Commit message

Fix icon path for snap package.

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
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

The Icon path should really be:-

Icon=${SNAP}/meta/gui/icon.png

Rather than hard wiring the /snap path, as there is no guarantee that /snap is valid on all platforms.

review: Needs Fixing
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
316. By Renato Araujo Oliveira Filho

Use $SNAP envar as icon prefix path instead of hardcoded path.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'setup/gui/ubuntu-calculator-app.desktop'
2--- setup/gui/ubuntu-calculator-app.desktop 2016-11-10 20:06:43 +0000
3+++ setup/gui/ubuntu-calculator-app.desktop 2016-11-22 15:06:41 +0000
4@@ -177,7 +177,7 @@
5 Keywords[zh_CN]=ζ•°ε­¦;加;减;乘;陀;
6 Keywords[zh_TW]=math;addition;subtraction;multiplication;division;ζ•Έε­Έ;加;ζΈ›;乘;陀;
7 Exec=ubuntu-calculator-app %u
8-Icon=/snap/ubuntu-calendar-app/current/ubuntu-calculator-app.png
9+Icon=${SNAP}/meta/gui/icon.png
10 Terminal=false
11 Type=Application
12 X-Ubuntu-Touch=true

Subscribers

People subscribed via source and target branches