Merge lp://staging/~3v1n0/libindicator/reduce-image-serialization into lp://staging/libindicator/14.04
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Merged at revision: | 526 |
Proposed branch: | lp://staging/~3v1n0/libindicator/reduce-image-serialization |
Merge into: | lp://staging/libindicator/14.04 |
Diff against target: |
136 lines (+44/-40) 1 file modified
libindicator/indicator-image-helper.c (+44/-40) |
To merge this branch: | bzr merge lp://staging/~3v1n0/libindicator/reduce-image-serialization |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Lars Karlitski (community) | Approve | ||
Review via email: mp+208736@code.staging.launchpad.net |
Commit message
IndicatorImageH
We don't need to fallback to pure pixbuf, unless an indicator provided a custom icon that is not in the current theme path.
This helps a lot in reducing the Unity7 workload as this decreases the cases where
we need to encode the pixbuf contents, send them via dbus to unity, encode them
back, reload to a new pixbuf...
Also thanks to this, the library clients can load the actual icon, scaled at the value they want.
Description of the change
Try to avoid image loading to a pixbuf, unless we can't export a GImage or a
filename
To post a comment you must log in.
PASSED: Continuous integration, rev:527 jenkins. qa.ubuntu. com/job/ libindicator- ci/51/ jenkins. qa.ubuntu. com/job/ libindicator- trusty- amd64-ci/ 4 jenkins. qa.ubuntu. com/job/ libindicator- trusty- armhf-ci/ 4 jenkins. qa.ubuntu. com/job/ libindicator- trusty- armhf-ci/ 4/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/libindicato r-ci/51/ rebuild
http://