diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2011-03-03 19:54:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-03 23:13:26 +0000 |
commit | 06cf0e5fc4acf00738f5d2aaa505fbac665dca02 (patch) | |
tree | d93f44d941498e298e092961e670d60fd3fba152 /meta/recipes-sato/sato-icon-theme | |
parent | 1e1b59cd94a3fb3092b4334cd247d2d18c9e8071 (diff) | |
download | openembedded-core-06cf0e5fc4acf00738f5d2aaa505fbac665dca02.tar.gz openembedded-core-06cf0e5fc4acf00738f5d2aaa505fbac665dca02.tar.bz2 openembedded-core-06cf0e5fc4acf00738f5d2aaa505fbac665dca02.zip |
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.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Diffstat (limited to 'meta/recipes-sato/sato-icon-theme')
-rw-r--r-- | meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc | 3 |
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 a1669c6f2e..3ee76efdea 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" 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 } |