diff options
author | Koen Kooi <koen@openembedded.org> | 2009-04-13 23:25:16 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-04-16 14:56:58 +0200 |
commit | ec1f47c78f5bf6cb794ea6808b0fdb8322fd582c (patch) | |
tree | b95b66640f066fc01780d930ca256ca86e9e108c /classes | |
parent | 37baf47b4ef23d262db704d83fcd712b3d1d5274 (diff) | |
download | openembedded-ec1f47c78f5bf6cb794ea6808b0fdb8322fd582c.tar.gz |
gnome: update various bits to 2.26, sync with .dev
Acked-by: Philip Balister <philip@balister.org>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/gtk-icon-cache.bbclass | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/classes/gtk-icon-cache.bbclass b/classes/gtk-icon-cache.bbclass index b256365175..ea1fdff3dd 100644 --- a/classes/gtk-icon-cache.bbclass +++ b/classes/gtk-icon-cache.bbclass @@ -11,11 +11,19 @@ fi # Update the pixbuf loaders in case they haven't been registered yet gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders -gtk-update-icon-cache -q /usr/share/icons/hicolor +for icondir in /usr/share/icons/* ; do + if [ -d $icondir ] ; then + gtk-update-icon-cache -qt $icondir + fi +done } gtk_icon_cache_postrm() { -gtk-update-icon-cache -q /usr/share/icons/hicolor +for icondir in /usr/share/icons/* ; do + if [ -d $icondir ] ; then + gtk-update-icon-cache -qt $icondir + fi +done } python populate_packages_append () { @@ -24,7 +32,7 @@ python populate_packages_append () { workdir = bb.data.getVar('WORKDIR', d, 1) for pkg in packages: - icon_dir = '%s/install/%s/%s/icons/hicolor' % (workdir, pkg, bb.data.getVar('datadir', d, 1)) + icon_dir = '%s/install/%s/%s/icons' % (workdir, pkg, bb.data.getVar('datadir', d, 1)) if not os.path.exists(icon_dir): continue |