sato-icon-theme: use gtk-icon-cache helper class
authorRoss Burton <ross.burton@intel.com>
Thu, 4 Oct 2012 11:19:03 +0000 (12:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Oct 2012 13:07:50 +0000 (14:07 +0100)
commite79ff12f867a7f39679df10690ce3c4ca383973a
tree23bcb592399d5f28a0d07fbb9cb95a8bca4ccddf
parent0e42b04ce7835e0b338c2aa6dc3f06fad5975b55
sato-icon-theme: use gtk-icon-cache helper class

Instead of explicitly updating the icon cache use the helper class that also
forces a loader update at the same time.  This eliminates the possibility of
updating the icon cache without any gdk-pixbuf loaders.

Also check that the Sato icon theme isn't already set to avoid appending to the
file every time the postinst runs.

[YOCTO #2399]

(From OE-Core rev: 9d98dbdae4c05fcf50d546f554a04dc3f0bd66c3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc
meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb