summaryrefslogtreecommitdiff
path: root/meta/packages/gtk+/gtk+.inc
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-11-27 09:28:46 +0000
committerRoss Burton <ross@openedhand.com>2007-11-27 09:28:46 +0000
commit0c273cb5083013a3c6031177bd760a5500a67c95 (patch)
treee31547bc5a8cd1d45f7062a054a5b007f56a0ea8 /meta/packages/gtk+/gtk+.inc
parenta14d61f7d38c3ae36f45a93878b0642e59f13009 (diff)
downloadopenembedded-core-0c273cb5083013a3c6031177bd760a5500a67c95.tar.gz
openembedded-core-0c273cb5083013a3c6031177bd760a5500a67c95.tar.bz2
openembedded-core-0c273cb5083013a3c6031177bd760a5500a67c95.zip
gtk+: run pixbufloader backend on target, and update the icon cache afterwards
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3241 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+.inc')
-rw-r--r--meta/packages/gtk+/gtk+.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+.inc b/meta/packages/gtk+/gtk+.inc
index b0a4a81450..bddc98072e 100644
--- a/meta/packages/gtk+/gtk+.inc
+++ b/meta/packages/gtk+/gtk+.inc
@@ -59,3 +59,13 @@ if [ "x$D" != "x" ]; then
fi
}
+
+postinst_pixbufloader() {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+
+gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
+
+test -x /usr/bin/gtk-update-icon-cache && gtk-update-icon-cache -q /usr/share/icons/hicolor
+}