sato-icon-theme: Explictly use "Sato" as gtk icon theme

There is a tricky race condition that "Sato" icons got missing on
matchbox-desktop as low priority "hicolor" theme was chosen. Explictly
settting "Sato" in gtk config file to avoid this.

[BUGID #456] got fixed.

(From OE-Core rev: 06cf0e5fc4acf00738f5d2aaa505fbac665dca02)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Zhai Edwin 2011-03-03 19:54:09 +08:00 committed by Richard Purdie
parent 7e850ac681
commit 72afe301d1
1 changed files with 3 additions and 0 deletions

View File

@ -16,9 +16,12 @@ PACKAGE_ARCH = "all"
EXTRA_OECONF += "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping"
#explictly setting "Sato" as default icon theme to avoid icon missing due to
#tricky race condition
pkg_postinst_${PN} () {
if [ "x$D" != "x" ]; then
exit 1
fi
gtk-update-icon-cache -q /usr/share/icons/Sato
echo 'gtk-icon-theme-name = "Sato"' > /etc/gtk-2.0/gtkrc
}