diff options
author | Ross Burton <ross@openedhand.com> | 2007-11-27 09:28:46 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-11-27 09:28:46 +0000 |
commit | 0c273cb5083013a3c6031177bd760a5500a67c95 (patch) | |
tree | e31547bc5a8cd1d45f7062a054a5b007f56a0ea8 /meta/packages/gtk+/gtk+.inc | |
parent | a14d61f7d38c3ae36f45a93878b0642e59f13009 (diff) | |
download | openembedded-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+.inc | 10 |
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 +} |