[PATCH] Update the gtk icon cache after all icons are installed.

Michael Stone michael at laptop.org
Thu Apr 29 01:56:47 EDT 2010


---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 581f1dc..91d886f 100644
--- a/Makefile
+++ b/Makefile
@@ -240,7 +240,6 @@ install-slow: all
 	(export GCONF_CONFIG_SOURCE=`$(GCONFTOOL2) --get-default-source`;\
 	 $(GCONFTOOL2) --makefile-install-rule $(SCHEMADIR)/sugar.schemas);
 	$(UPDATE_MIME_DATABASE) $(DATADIR)/mime;
-	gtk-update-icon-cache -f $(ICONDIR)
 	for d in $(shell ls artwork/icons/scalable); do \
 		install -d $(ICONDIR)/scalable/$$d; \
 		for f in artwork/icons/scalable/$$d/*; do \
@@ -248,6 +247,7 @@ install-slow: all
 		done; \
 		(cd $(ICONDIR)/scalable && $(ICONMAP) -c $$d) \
 	done
+	gtk-update-icon-cache -f $(ICONDIR)
 
 install: install-fast install-slow
 
-- 
1.7.0


--gKMricLos+KVdGMg--


More information about the Sugar-devel mailing list