Merge lp://qastaging/~charlesk/indicator-sync/lp-1218536 into lp://qastaging/indicator-sync/13.10

Proposed by Charles Kerr
Status: Merged
Approved by: Ted Gould
Approved revision: 40
Merged at revision: 36
Proposed branch: lp://qastaging/~charlesk/indicator-sync/lp-1218536
Merge into: lp://qastaging/indicator-sync/13.10
Diff against target: 123 lines (+64/-30)
1 file modified
src/service/app-menu-item.c (+64/-30)
To merge this branch: bzr merge lp://qastaging/~charlesk/indicator-sync/lp-1218536
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Ted Gould (community) Approve
Review via email: mp+184876@code.qastaging.launchpad.net

Commit message

Fix client icon issues in indicator-sync-service.

Description of the change

Cleans up the sync clients' icon code:

1. Previously it looked for a "X-Ayatana-Sync-Menu-Icon" line in the [Desktop Entry] of the .desktop file so a menuitem-sized icon could be specified. This change still uses that key but also uses "Icon" as a fallback.

2. If we find a themed icon, the code tried to precede the icon's name with $(name)-symbolic so symbolic icons could override the .desktop-provided one. A bug in that code clobbered the old name, simply replacing $(name) with $(name)-symbolic. This change fixes that bug.

3. Item #2 wasn't found sooner because it wasn't applied to icons found under the X-Ayatana-Sync-Menu-Icon key. This change lets -symbolic override any GThemedIcon, regardless of its source.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) wrote :

Looks good.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches