[gnome-doc-utils/mallard] [mallard] Trying out 24x24 admonition icons



commit 6d2c8e6ffca9f947165aae1389e38d999d519bf9
Author: Shaun McCance <shaunm gnome org>
Date:   Mon May 18 16:30:28 2009 -0500

    [mallard] Trying out 24x24 admonition icons
---
 data/icons/hicolor/24x24/admon-bug.png       |  Bin 0 -> 1317 bytes
 data/icons/hicolor/24x24/admon-caution.png   |  Bin 0 -> 1149 bytes
 data/icons/hicolor/24x24/admon-important.png |  Bin 0 -> 1017 bytes
 data/icons/hicolor/24x24/admon-note.png      |  Bin 0 -> 779 bytes
 data/icons/hicolor/24x24/admon-tip.png       |  Bin 0 -> 1128 bytes
 data/icons/hicolor/24x24/admon-warning.png   |  Bin 0 -> 1149 bytes
 sandbox/mallard/html/Makefile                |    9 ++++++++-
 7 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/data/icons/hicolor/24x24/admon-bug.png b/data/icons/hicolor/24x24/admon-bug.png
new file mode 100644
index 0000000..a091d3d
Binary files /dev/null and b/data/icons/hicolor/24x24/admon-bug.png differ
diff --git a/data/icons/hicolor/24x24/admon-caution.png b/data/icons/hicolor/24x24/admon-caution.png
new file mode 100644
index 0000000..04395e6
Binary files /dev/null and b/data/icons/hicolor/24x24/admon-caution.png differ
diff --git a/data/icons/hicolor/24x24/admon-important.png b/data/icons/hicolor/24x24/admon-important.png
new file mode 100644
index 0000000..ec5a678
Binary files /dev/null and b/data/icons/hicolor/24x24/admon-important.png differ
diff --git a/data/icons/hicolor/24x24/admon-note.png b/data/icons/hicolor/24x24/admon-note.png
new file mode 100644
index 0000000..c882759
Binary files /dev/null and b/data/icons/hicolor/24x24/admon-note.png differ
diff --git a/data/icons/hicolor/24x24/admon-tip.png b/data/icons/hicolor/24x24/admon-tip.png
new file mode 100644
index 0000000..00d4f9c
Binary files /dev/null and b/data/icons/hicolor/24x24/admon-tip.png differ
diff --git a/data/icons/hicolor/24x24/admon-warning.png b/data/icons/hicolor/24x24/admon-warning.png
new file mode 100644
index 0000000..04395e6
Binary files /dev/null and b/data/icons/hicolor/24x24/admon-warning.png differ
diff --git a/sandbox/mallard/html/Makefile b/sandbox/mallard/html/Makefile
index 8781306..6c2596f 100644
--- a/sandbox/mallard/html/Makefile
+++ b/sandbox/mallard/html/Makefile
@@ -1,8 +1,9 @@
 xslts=$(wildcard ../../../xslt/mallard/common/*.xsl) $(wildcard ../../../xslt/mallard/html/*.xsl)
 specs=$(filter-out ../../../doc/mallard/C/legal.xml, $(wildcard ../../../doc/mallard/C/*.xml))
 pages=$(patsubst %.xml,%.html, $(notdir $(specs)))
+icons=admon-bug.png admon-caution.png admon-important.png admon-note.png admon-tip.png admon-warning.png
 
-all: $(pages) figures mallard.cache
+all: $(pages) $(icons) figures mallard.cache
 
 mallard.cache : $(specs) $(xslts)
 	echo '<cache xmlns="http://www.gnome.org/~shaunm/mallard";>' > $  in
@@ -13,10 +14,16 @@ mallard.cache : $(specs) $(xslts)
 	xsltproc ../../../xslt/mallard/utils/mal2cache.xsl $  in | xmllint --format - > $@
 	rm $  in
 
+
+$(icons):
+	ln -sf ../../../data/icons/hicolor/24x24/$@ $@
+
 $(pages) : mallard.cache $(xslts)
 $(pages) : %.html : ../../../doc/mallard/C/%.xml
 	xsltproc -o $@ \
 	  --stringparam mal.cache.file `pwd`/mallard.cache \
+	  --stringparam theme.icon.admon.path '' \
+	  --param theme.icon.admon.size 24 \
 	  --param mal2html.editor_mode 1 \
 	  ../../../xslt/mallard/html/mal2html.xsl $<
 



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