]> code.ossystems Code Review - openembedded-core.git/commit
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:04:03 +0000 (14:04 +0100)
commit9d98dbdae4c05fcf50d546f554a04dc3f0bd66c3
tree10e75d9f01fe69b40581601188f8bd2728a46baa
parentae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
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]

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