gnome-applets r10926 - in trunk: . accessx-status/pixmaps cpufreq/pixmaps geyes invest-applet/data invest-applet/data/art mini-commander/src modemlights stickynotes/pixmaps



Author: pkerling
Date: Thu Aug 21 20:44:33 2008
New Revision: 10926
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=10926&view=rev

Log:
2008-08-21  Philipp Kerling  <k philipp gmail com>

	* stickynotes/pixmaps/Makefile.am:
	* cpufreq/pixmaps/Makefile.am:
	* accessx-status/pixmaps/Makefile.am:
	* modemlights/Makefile.am:
	* mini-commander/src/Makefile.am:
	* geyes/Makefile.am: Call gtk-update-icon-cache in uninstall-local
	* invest-applet/data/art/invest-applet.svg:
	* invest-applet/data/art/invest-applet.16.png:
	* invest-applet/data/art/invest-applet.22.png:
	* invest-applet/data/art/invest-applet.48.png: Copy invest neutral
	icons as application icons
	* invest-applet/data/art/Makefile.am:
	* invest-applet/data/Invest_Applet.server.in.in: Install icons theme-friendly

	Fixes bug #547647.


Added:
   trunk/invest-applet/data/art/invest-applet.16.png   (contents, props changed)
   trunk/invest-applet/data/art/invest-applet.22.png   (contents, props changed)
   trunk/invest-applet/data/art/invest-applet.48.png   (contents, props changed)
   trunk/invest-applet/data/art/invest-applet.svg
Modified:
   trunk/ChangeLog
   trunk/accessx-status/pixmaps/Makefile.am
   trunk/cpufreq/pixmaps/Makefile.am
   trunk/geyes/Makefile.am
   trunk/invest-applet/data/Invest_Applet.server.in.in
   trunk/invest-applet/data/art/Makefile.am
   trunk/mini-commander/src/Makefile.am
   trunk/modemlights/Makefile.am
   trunk/stickynotes/pixmaps/Makefile.am

Modified: trunk/accessx-status/pixmaps/Makefile.am
==============================================================================
--- trunk/accessx-status/pixmaps/Makefile.am	(original)
+++ trunk/accessx-status/pixmaps/Makefile.am	Thu Aug 21 20:44:33 2008
@@ -40,5 +40,17 @@
 	ax-slowkeys-no.png		\
 	ax-bouncekeys.png	
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)/hicolor
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache:
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating Gtk icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated. After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
+
 EXTRA_DIST = \
 	$(accessx_status_pixmaps_DATA)

Modified: trunk/cpufreq/pixmaps/Makefile.am
==============================================================================
--- trunk/cpufreq/pixmaps/Makefile.am	(original)
+++ trunk/cpufreq/pixmaps/Makefile.am	Thu Aug 21 20:44:33 2008
@@ -18,6 +18,8 @@
 	$(cpufreq_pixmap_DATA) \
 	$(icons)
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
 uninstall-local:
 	for icon in $(icons); do \
 		SIZE=`echo $$icon | cut -d. -f2`; \
@@ -30,8 +32,13 @@
 		fi; \
 		rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
 	done
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating Gtk icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated. After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
 
 install-data-local:
 	for icon in $(icons); do \

Modified: trunk/geyes/Makefile.am
==============================================================================
--- trunk/geyes/Makefile.am	(original)
+++ trunk/geyes/Makefile.am	Thu Aug 21 20:44:33 2008
@@ -53,6 +53,8 @@
 	     $(ui_DATA)				\
 	     $(icons)
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
 uninstall-local:
 	for icon in $(icons); do \
 		SIZE=`echo $$icon | cut -d. -f2`; \
@@ -65,8 +67,13 @@
 		fi; \
 		rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
 	done
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating Gtk icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated. After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
 
 install-data-local:
 	for icon in $(icons); do \

Modified: trunk/invest-applet/data/Invest_Applet.server.in.in
==============================================================================
--- trunk/invest-applet/data/Invest_Applet.server.in.in	(original)
+++ trunk/invest-applet/data/Invest_Applet.server.in.in	Thu Aug 21 20:44:33 2008
@@ -19,7 +19,7 @@
         <oaf_attribute name="name" type="string" _value="Invest"/>
         <oaf_attribute name="description" type="string" _value="Track your invested money."/>
         <oaf_attribute name="panel:category" type="string" value="Accessories"/>
-        <oaf_attribute name="panel:icon" type="string" value="invest-48_neutral.png"/>
+        <oaf_attribute name="panel:icon" type="string" value="invest-applet"/>
 </oaf_server>
 
 </oaf_info>

Modified: trunk/invest-applet/data/art/Makefile.am
==============================================================================
--- trunk/invest-applet/data/art/Makefile.am	(original)
+++ trunk/invest-applet/data/art/Makefile.am	Thu Aug 21 20:44:33 2008
@@ -1,15 +1,57 @@
 # ******************************************************************************
 # Images and icon
 # ******************************************************************************
-pixmapsdir = $(datadir)/pixmaps
-pixmaps_DATA = invest-48_neutral.png
+icons = invest-applet.16.png invest-applet.22.png invest-applet.48.png invest-applet.svg
 
 artdir = $(pkgdatadir)/invest-applet
 art_DATA = invest-16_neutral.png invest-22_neutral.png invest_neutral.svg \
 	invest-22_up.png invest_up.svg \
 	invest-22_down.png invest_down.svg
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+uninstall-local:
+	for icon in $(icons); do \
+		SIZE=`echo $$icon | cut -d. -f2`; \
+		FILE=`echo $$icon | cut -d. -f1,3`; \
+		if [ "$$SIZE" = "svg" ]; then \
+			SIZE="scalable"; \
+			FILE="$$FILE.svg"; \
+		else \
+			SIZE="$${SIZE}x$${SIZE}"; \
+		fi; \
+		rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
+	done
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating Gtk icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated. After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
+
+install-data-local:
+	for icon in $(icons); do \
+		SIZE=`echo $$icon | cut -d. -f2`; \
+		FILE=`echo $$icon | cut -d. -f1,3`; \
+		if [ "$$SIZE" = "svg" ]; then \
+			SIZE="scalable"; \
+			FILE="$$FILE.svg"; \
+		else \
+			SIZE="$${SIZE}x$${SIZE}"; \
+		fi; \
+		mkdir -p $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/; \
+		$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
+	done
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating Gtk icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated. After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
+
 EXTRA_DIST = \
-	$(pixmaps_DATA) \
+	$(icons) \
 	$(art_DATA)
 	

Added: trunk/invest-applet/data/art/invest-applet.16.png
==============================================================================
Binary file. No diff available.

Added: trunk/invest-applet/data/art/invest-applet.22.png
==============================================================================
Binary file. No diff available.

Added: trunk/invest-applet/data/art/invest-applet.48.png
==============================================================================
Binary file. No diff available.

Added: trunk/invest-applet/data/art/invest-applet.svg
==============================================================================
--- (empty file)
+++ trunk/invest-applet/data/art/invest-applet.svg	Thu Aug 21 20:44:33 2008
@@ -0,0 +1,264 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="48"
+   height="48"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.46"
+   version="1.0"
+   sodipodi:docbase="/home/matteo/Desktop"
+   sodipodi:docname="invest_neutral.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   inkscape:export-filename="/home/matteo/src/invest-applet/data/art/invest_neutral.png"
+   inkscape:export-xdpi="41.25"
+   inkscape:export-ydpi="41.25">
+  <defs
+     id="defs4">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient4542">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop4544" />
+      <stop
+         style="stop-color:#000000;stop-opacity:0;"
+         offset="1"
+         id="stop4546" />
+    </linearGradient>
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4542"
+       id="radialGradient4548"
+       cx="24.306795"
+       cy="42.07798"
+       fx="24.306795"
+       fy="42.07798"
+       r="15.821514"
+       gradientTransform="matrix(1,0,0,0.284916,0,30.08928)"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient4404">
+      <stop
+         style="stop-color:#555753;stop-opacity:1;"
+         offset="0"
+         id="stop4406" />
+      <stop
+         style="stop-color:#555753;stop-opacity:0;"
+         offset="1"
+         id="stop4408" />
+    </linearGradient>
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 24 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="48 : 24 : 1"
+       inkscape:persp3d-origin="24 : 16 : 1"
+       id="perspective2545" />
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient13447">
+      <stop
+         style="stop-color:#75507b;stop-opacity:1;"
+         offset="0"
+         id="stop13449" />
+      <stop
+         style="stop-color:#75507b;stop-opacity:0;"
+         offset="1"
+         id="stop13451" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient12331">
+      <stop
+         style="stop-color:#cc0000;stop-opacity:1;"
+         offset="0"
+         id="stop12333" />
+      <stop
+         style="stop-color:#cc0000;stop-opacity:0;"
+         offset="1"
+         id="stop12335" />
+    </linearGradient>
+    <linearGradient
+       id="linearGradient15662">
+      <stop
+         id="stop15664"
+         offset="0.0000000"
+         style="stop-color:#ffffff;stop-opacity:1.0000000;" />
+      <stop
+         id="stop15666"
+         offset="1.0000000"
+         style="stop-color:#f8f8f8;stop-opacity:1.0000000;" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient13447"
+       id="linearGradient13453"
+       x1="38.218918"
+       y1="30.108185"
+       x2="8.2662506"
+       y2="36.926712"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient13447"
+       id="linearGradient4328"
+       gradientUnits="userSpaceOnUse"
+       x1="38.218918"
+       y1="30.108185"
+       x2="8.2662506"
+       y2="36.926712"
+       gradientTransform="translate(0.609152,-2.95805e-2)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4404"
+       id="linearGradient4410"
+       x1="24"
+       y1="40"
+       x2="24"
+       y2="4"
+       gradientUnits="userSpaceOnUse" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient4542"
+       id="radialGradient4422"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1,0,0,0.284916,0,30.08928)"
+       cx="24.306795"
+       cy="42.07798"
+       fx="24.306795"
+       fy="42.07798"
+       r="15.821514" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     gridtolerance="10000"
+     guidetolerance="10"
+     objecttolerance="10"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="7.9195959"
+     inkscape:cx="12.356615"
+     inkscape:cy="27.073797"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer2"
+     width="48px"
+     height="48px"
+     showgrid="true"
+     showguides="true"
+     inkscape:window-width="1164"
+     inkscape:window-height="723"
+     inkscape:window-x="44"
+     inkscape:window-y="49">
+    <inkscape:grid
+       id="GridFromPre046Settings"
+       type="xygrid"
+       originx="0px"
+       originy="4px"
+       spacingx="4px"
+       spacingy="4px"
+       color="#0000ff"
+       empcolor="#0000ff"
+       opacity="0.2"
+       empopacity="0.4"
+       empspacing="5" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:groupmode="layer"
+     id="layer2"
+     inkscape:label="grid"
+     style="display:inline;opacity:1">
+    <path
+       sodipodi:type="arc"
+       style="opacity:0.56725147;fill:url(#radialGradient4422);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+       id="path3667"
+       sodipodi:cx="24.306795"
+       sodipodi:cy="42.07798"
+       sodipodi:rx="15.821514"
+       sodipodi:ry="4.5078058"
+       d="M 40.128309,42.07798 A 15.821514,4.5078058 0 1 1 8.485281,42.07798 A 15.821514,4.5078058 0 1 1 40.128309,42.07798 z"
+       transform="matrix(1.169294,0,0,0.776431,-4.4217897,9.3293517)" />
+    <rect
+       style="opacity:1;fill:#eeeeec;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.97529721;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:1;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect4414"
+       width="40.024704"
+       height="38.024704"
+       x="3.9876485"
+       y="4.9876475"
+       rx="1.1497579"
+       ry="1.0923053" />
+    <g
+       id="g4389"
+       style="stroke:url(#linearGradient4410)">
+      <path
+         id="path9976"
+         d="M 3.9999997,34 L 44,34"
+         style="fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:inline;stroke:url(#linearGradient4410)" />
+      <path
+         id="path9978"
+         d="M 31.5,6.0392526 L 31.5,42.960747"
+         style="fill-rule:evenodd;stroke-width:1.03851116000000010;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:inline;stroke:url(#linearGradient4410)" />
+      <path
+         id="path10951"
+         d="M 17.500226,5.9722891 L 17.500226,42.958359"
+         style="fill-rule:evenodd;stroke-width:1.03963911999999992;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:inline;stroke:url(#linearGradient4410)" />
+      <path
+         id="path10953"
+         d="M 3.9999997,24 L 44,24"
+         style="fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:inline;stroke:url(#linearGradient4410)" />
+      <path
+         id="path10955"
+         d="M 3.9999998,14 L 44,14"
+         style="fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:inline;stroke:url(#linearGradient4410)" />
+    </g>
+  </g>
+  <g
+     inkscape:groupmode="layer"
+     id="layer3"
+     inkscape:label="chart"
+     style="display:inline">
+    <path
+       style="fill:url(#linearGradient4328);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline"
+       d="M 4.9875634,21.490087 L 11.493266,34.405704 L 17.576909,21.868895 L 24.798555,30.324483 L 32.77346,15.009754 L 44.609548,19.041487 L 44.609152,42.833998 L 4.4828832,42.833998 L 4.9875634,21.490087 z"
+       id="path12268"
+       sodipodi:nodetypes="ccccccccc" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#5c3566;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline"
+       d="M 43.503925,20.051641 L 32.432856,14.459629 L 24.09466,30.658242 L 17.190471,21.571308 L 10.831968,35.11827 L 4.009,19.807979"
+       id="path10957"
+       sodipodi:nodetypes="cccccc" />
+  </g>
+  <g
+     inkscape:label="frame"
+     inkscape:groupmode="layer"
+     id="layer1"
+     style="display:inline;opacity:1">
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#555753;stroke-width:2.59299999999999997;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 3.9469113,5.296369 L 3.9469113,42.703631 L 44.053088,42.703631 L 43.95386,5.4035875 L 3.9469113,5.296369 z"
+       id="path5099" />
+  </g>
+</svg>

Modified: trunk/mini-commander/src/Makefile.am
==============================================================================
--- trunk/mini-commander/src/Makefile.am	(original)
+++ trunk/mini-commander/src/Makefile.am	Thu Aug 21 20:44:33 2008
@@ -52,6 +52,18 @@
 desktop_iconsdir = $(iconsdir)/hicolor/48x48/apps
 desktop_icons_DATA = gnome-mini-commander.png
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)/hicolor
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache:
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating Gtk icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated.  After (un)install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
+
 serverdir       = $(libdir)/bonobo/servers
 server_in_files = GNOME_MiniCommanderApplet.server.in
 server_DATA     = $(server_in_files:.server.in=.server)

Modified: trunk/modemlights/Makefile.am
==============================================================================
--- trunk/modemlights/Makefile.am	(original)
+++ trunk/modemlights/Makefile.am	Thu Aug 21 20:44:33 2008
@@ -43,6 +43,8 @@
 	$(builder_DATA)			\
 	$(ui_DATA)
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
 uninstall-local:
 	for icon in $(icons); do \
 		SIZE=`echo $$icon | cut -d. -f2`; \
@@ -55,8 +57,13 @@
 		fi; \
 		rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
 	done
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+	@-if test -z "$(DESTDIR)"; then \
+			echo "Updating Gtk icon cache."; \
+			$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated. After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
 
 install-data-local:
 	for icon in $(icons); do \

Modified: trunk/stickynotes/pixmaps/Makefile.am
==============================================================================
--- trunk/stickynotes/pixmaps/Makefile.am	(original)
+++ trunk/stickynotes/pixmaps/Makefile.am	Thu Aug 21 20:44:33 2008
@@ -19,6 +19,8 @@
 	$(stickynotes_applet_pixmaps_DATA) \
 	$(icons)
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
 uninstall-local:
 	for icon in $(icons); do \
 		SIZE=`echo $$icon | cut -d. -f2`; \
@@ -31,8 +33,13 @@
 		fi; \
 		rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
 	done
-
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating Gtk icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated. After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
 
 install-data-local:
 	for icon in $(icons); do \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]