diff options
author | Ross Burton <ross@openedhand.com> | 2008-01-08 15:54:04 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-01-08 15:54:04 +0000 |
commit | 226212879ce4030b2a213acb559631aeda8b8940 (patch) | |
tree | bb111ca6ab34eb49b69f0ce392972b655b10bb03 | |
parent | b8a6dbf08b8fa7659a2a70d83ba9ba3ad3744f03 (diff) | |
download | poky-226212879ce4030b2a213acb559631aeda8b8940.tar.gz |
gtk-icon-cache.bbclass: in the postinst update the pixbuf loaders to ensure that all are loaded before creating icon caches
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3430 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index b86562890a..0d306a1b84 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -7,6 +7,10 @@ gtk-icon-cache_postinst() { | |||
7 | if [ "x$D" != "x" ]; then | 7 | if [ "x$D" != "x" ]; then |
8 | exit 1 | 8 | exit 1 |
9 | fi | 9 | fi |
10 | |||
11 | # Update the pixbuf loaders in case they haven't been registered yet | ||
12 | gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders | ||
13 | |||
10 | gtk-update-icon-cache -q /usr/share/icons/hicolor | 14 | gtk-update-icon-cache -q /usr/share/icons/hicolor |
11 | } | 15 | } |
12 | 16 | ||