[gnome-icon-theme] Applied Matthias Clasen patch for adding scalable/ tree in index theme (needed for symbolic icons),



commit d5f441bb32b3af9e3e8eef9d46f9bd76a6f81b16
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Mon May 24 18:08:20 2010 +0200

    Applied Matthias Clasen patch for adding scalable/ tree in index theme (needed for symbolic icons), see fixes #617292

 Makefile.am                                      |   14 +++++++++++---
 gnome/256x256/actions/document-print-preview.png |  Bin 35789 -> 35663 bytes
 gnome/256x256/actions/document-print.png         |  Bin 19056 -> 18913 bytes
 gnome/256x256/devices/printer.png                |  Bin 15705 -> 15592 bytes
 gnome/256x256/status/printer-error.png           |  Bin 18839 -> 18723 bytes
 gnome/256x256/status/printer-printing.png        |  Bin 18633 -> 18488 bytes
 gnome/32x32/actions/document-print-preview.png   |  Bin 2189 -> 2192 bytes
 gnome/32x32/actions/document-print.png           |  Bin 1784 -> 1784 bytes
 gnome/32x32/devices/printer.png                  |  Bin 1559 -> 1557 bytes
 gnome/32x32/status/printer-error.png             |  Bin 1735 -> 1734 bytes
 gnome/32x32/status/printer-printing.png          |  Bin 1698 -> 1696 bytes
 gnome/48x48/actions/document-print-preview.png   |  Bin 3847 -> 3843 bytes
 gnome/48x48/actions/document-print.png           |  Bin 2900 -> 2899 bytes
 gnome/48x48/devices/printer.png                  |  Bin 2451 -> 2453 bytes
 gnome/48x48/status/printer-error.png             |  Bin 2753 -> 2760 bytes
 gnome/48x48/status/printer-printing.png          |  Bin 2702 -> 2704 bytes
 16 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index cb080f7..0bec5b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,14 +5,18 @@ SUBDIRS = po $(SVGSRCDIR)
 theme_in_files = index.theme.in.in
 theme_DATA = $(theme_in_files:.theme.in.in=.theme)
 
-THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done | sed -e "s/,$$//g")
+THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done; echo "scalable/actions,scalable/apps,scalable/devices,scalable/emblems,scalable/mimetypes,scalable/places,scalable/status")
 
 %.theme.in: %.theme.in.in $(SVGOUTDIR) Makefile
 	dirs="`echo $(THEME_DIRS) | sed -e 's#$(srcdir)/gnome/##g'`"; \
 	sed -e "s|\ THEME_DIRS\@|$$dirs|g" < $< > $@; \
 	for dir in `echo $$dirs | sed -e "s/,/ /g"`; do \
 		sizefull="`dirname $$dir`"; \
-		size="`echo $$sizefull | sed -e 's/x.*$$//g'`"; \
+		if test "$$sizefull" = "scalable"; then \
+			size="16"; \
+		else \
+			size="`echo $$sizefull | sed -e 's/x.*$$//g'`"; \
+		fi; \
 		context="`basename $$dir`"; \
 		echo "[$$dir]" >> $@; \
 		if test "$$context" = "actions"; then \
@@ -49,7 +53,11 @@ THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `
 			echo "Context=Status" >> $@; \
 		fi; \
 		echo "Size=$$size" >> $@; \
-		if test "$$size" = "256"; then \
+		if test "$$sizefull" = "scalable"; then \
+			echo "MinSize=16" >> $@; \
+			echo "MaxSize=256" >> $@; \
+			echo "Type=Scalable" >> $@; \
+		elif test "$$size" = "256"; then \
 			echo "MinSize=56" >> $@; \
 			echo "MaxSize=512" >> $@; \
 			echo "Type=Scalable" >> $@; \
diff --git a/gnome/256x256/actions/document-print-preview.png b/gnome/256x256/actions/document-print-preview.png
index 1edba25..a770f66 100644
Binary files a/gnome/256x256/actions/document-print-preview.png and b/gnome/256x256/actions/document-print-preview.png differ
diff --git a/gnome/256x256/actions/document-print.png b/gnome/256x256/actions/document-print.png
index 15ced84..b0cd2d5 100644
Binary files a/gnome/256x256/actions/document-print.png and b/gnome/256x256/actions/document-print.png differ
diff --git a/gnome/256x256/devices/printer.png b/gnome/256x256/devices/printer.png
index 483f786..987b06c 100644
Binary files a/gnome/256x256/devices/printer.png and b/gnome/256x256/devices/printer.png differ
diff --git a/gnome/256x256/status/printer-error.png b/gnome/256x256/status/printer-error.png
index 646e4e7..89eb50b 100644
Binary files a/gnome/256x256/status/printer-error.png and b/gnome/256x256/status/printer-error.png differ
diff --git a/gnome/256x256/status/printer-printing.png b/gnome/256x256/status/printer-printing.png
index 26e2b65..4ca5ada 100644
Binary files a/gnome/256x256/status/printer-printing.png and b/gnome/256x256/status/printer-printing.png differ
diff --git a/gnome/32x32/actions/document-print-preview.png b/gnome/32x32/actions/document-print-preview.png
index 04a9cae..cae353c 100644
Binary files a/gnome/32x32/actions/document-print-preview.png and b/gnome/32x32/actions/document-print-preview.png differ
diff --git a/gnome/32x32/actions/document-print.png b/gnome/32x32/actions/document-print.png
index 8478bed..3e69d95 100644
Binary files a/gnome/32x32/actions/document-print.png and b/gnome/32x32/actions/document-print.png differ
diff --git a/gnome/32x32/devices/printer.png b/gnome/32x32/devices/printer.png
index 11d4d4b..3f188cb 100644
Binary files a/gnome/32x32/devices/printer.png and b/gnome/32x32/devices/printer.png differ
diff --git a/gnome/32x32/status/printer-error.png b/gnome/32x32/status/printer-error.png
index adc3d5d..582511f 100644
Binary files a/gnome/32x32/status/printer-error.png and b/gnome/32x32/status/printer-error.png differ
diff --git a/gnome/32x32/status/printer-printing.png b/gnome/32x32/status/printer-printing.png
index e9a2260..0d47184 100644
Binary files a/gnome/32x32/status/printer-printing.png and b/gnome/32x32/status/printer-printing.png differ
diff --git a/gnome/48x48/actions/document-print-preview.png b/gnome/48x48/actions/document-print-preview.png
index dc50c40..93d860c 100644
Binary files a/gnome/48x48/actions/document-print-preview.png and b/gnome/48x48/actions/document-print-preview.png differ
diff --git a/gnome/48x48/actions/document-print.png b/gnome/48x48/actions/document-print.png
index 69c3bcc..bbde279 100644
Binary files a/gnome/48x48/actions/document-print.png and b/gnome/48x48/actions/document-print.png differ
diff --git a/gnome/48x48/devices/printer.png b/gnome/48x48/devices/printer.png
index 52c8926..bd6ad44 100644
Binary files a/gnome/48x48/devices/printer.png and b/gnome/48x48/devices/printer.png differ
diff --git a/gnome/48x48/status/printer-error.png b/gnome/48x48/status/printer-error.png
index d36cf0a..d36450d 100644
Binary files a/gnome/48x48/status/printer-error.png and b/gnome/48x48/status/printer-error.png differ
diff --git a/gnome/48x48/status/printer-printing.png b/gnome/48x48/status/printer-printing.png
index 13946e5..10f7593 100644
Binary files a/gnome/48x48/status/printer-printing.png and b/gnome/48x48/status/printer-printing.png differ



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