[OE-core] [poky] [PATCH 03/10] sato-icon-theme: Explictly use "Sato" as gtk icon theme

Khem Raj raj.khem at gmail.com
Thu Mar 3 20:25:41 UTC 2011


On Thu, Mar 3, 2011 at 12:02 PM, Saul Wold <sgw at linux.intel.com> wrote:
> From: Zhai Edwin <edwin.zhai at intel.com>
>
> 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 at intel.com>
> ---
>  .../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 a1669c6..0eff9dd 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

what would happen if you reinstalled this packge again I guess it
would keep appending right ?


>  }
> --
> 1.7.1.1
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>




More information about the Openembedded-core mailing list