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:
parent
7e850ac681
commit
72afe301d1
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue