Merge lp:~mhr3/unity/fix-missing-category-icons into lp:unity

Proposed by Michal Hruby
Status: Merged
Approved by: Mirco Müller
Approved revision: no longer in the source branch.
Merged at revision: 2246
Proposed branch: lp:~mhr3/unity/fix-missing-category-icons
Merge into: lp:unity
Diff against target: 11 lines (+1/-1)
1 file modified
plugins/unityshell/src/IconTexture.cpp (+1/-1)
To merge this branch: bzr merge lp:~mhr3/unity/fix-missing-category-icons
Reviewer Review Type Date Requested Status
Mirco Müller (community) Approve
Review via email: mp+101076@code.launchpad.net

Commit message

Fixes a regression that caused the category icons to use default icons

Description of the change

Fixes a regression that caused the category icons to use default icons.

To post a comment you must log in.
Revision history for this message
Mirco Müller (macslow) wrote :

good catch... approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/unityshell/src/IconTexture.cpp'
2--- plugins/unityshell/src/IconTexture.cpp 2012-03-31 23:41:30 +0000
3+++ plugins/unityshell/src/IconTexture.cpp 2012-04-06 09:40:29 +0000
4@@ -66,7 +66,7 @@
5 _loading(false),
6 _opacity(1.0f)
7 {
8- if (!defer_icon_loading)
9+ if (!icon_name.empty () && !defer_icon_loading)
10 LoadIcon();
11 }
12