-
Committer:
CI bot
-
Author(s):
Marco Trevisan (Treviño)
-
Date:
2014-03-04 10:58:28 UTC
-
mfrom:
(525.1.4 libindicator)
-
Revision ID:
ps-jenkins@lists.canonical.com-20140304105828-wie1v7vnolkfimzq
IndicatorImageHelper: always try to use a GIcon or the filename as source of the GdkImage
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. Fixes: 784055, 1000785, 1285989