summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/sato-icon-theme
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2011-03-03 11:54:09 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-03 23:49:12 (GMT)
commit72afe301d14873296e97738028f52afd4a73a847 (patch)
tree8e3a73367fa09f44e0323934c941cd460fb983ad /meta/recipes-sato/sato-icon-theme
parent7e850ac6817f98abde35f931cdd69faedbb32ea5 (diff)
downloadpoky-72afe301d14873296e97738028f52afd4a73a847.tar.gz
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>
Diffstat (limited to 'meta/recipes-sato/sato-icon-theme')
-rw-r--r--meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc b/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc
index a1669c6..3ee76ef 100644
--- a/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc
+++ b/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc
@@ -16,9 +16,12 @@ PACKAGE_ARCH = "all"
16 16
17EXTRA_OECONF += "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping" 17EXTRA_OECONF += "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping"
18 18
19#explictly setting "Sato" as default icon theme to avoid icon missing due to
20#tricky race condition
19pkg_postinst_${PN} () { 21pkg_postinst_${PN} () {
20 if [ "x$D" != "x" ]; then 22 if [ "x$D" != "x" ]; then
21 exit 1 23 exit 1
22 fi 24 fi
23 gtk-update-icon-cache -q /usr/share/icons/Sato 25 gtk-update-icon-cache -q /usr/share/icons/Sato
26 echo 'gtk-icon-theme-name = "Sato"' > /etc/gtk-2.0/gtkrc
24} 27}