[GRASS-SVN] r35334 - in grass/branches/releasebranch_6_4: gui/icons gui/icons/grass2 gui/wxpython/gui_modules gui/wxpython/icons include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 11 16:57:42 EST 2009


Author: martinl
Date: 2009-01-11 16:57:41 -0500 (Sun, 11 Jan 2009)
New Revision: 35334

Added:
   grass/branches/releasebranch_6_4/gui/icons/grass2/
   grass/branches/releasebranch_6_4/gui/icons/grass2/attributes-display.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/cats-copy.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/cats-display.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/centroid-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/element-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/erase.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-delete.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-remove.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-rms.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-save.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/georectify.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/info.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-aspect-arrow-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-command-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-grid-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-group-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-his-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-label-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-open.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-analyze.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-histogram.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-profile.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-redraw.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-remove.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-rgb-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-shaded-relief-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-vector-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/legend-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/line-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/line-delete.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/line-edit.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/line-move.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/line-split.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/map-export.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/measure-length.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/monitor-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/open.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/pan.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/point-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/pointer.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/polygon-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/print.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/quit.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/redraw.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/reload.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/save.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/scalebar-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/settings.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/show.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/table.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/text-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/tools.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/undo.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/vertex-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/vertex-delete.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/vertex-move.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-in.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-last.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-more.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-out.png
   grass/branches/releasebranch_6_4/gui/wxpython/icons/grass2_icons.py
   grass/branches/releasebranch_6_4/gui/wxpython/icons/grass_icons.py
   grass/branches/releasebranch_6_4/gui/wxpython/icons/silk_icons.py
Removed:
   grass/branches/releasebranch_6_4/gui/icons/grass2/create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/element-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/erase.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/info.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-command-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-grid-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-group-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-label-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-open.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-analyze.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-histogram.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-profile.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-redraw.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-remove.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-rgb-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/layer-vector-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/legend-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/map-export.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/measure-length.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/monitor-create.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/open.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/pan.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/pointer.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/print.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/quit.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/save.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/scalebar-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/show.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/table.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/text-add.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-in.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-last.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-more.png
   grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-out.png
   grass/branches/releasebranch_6_4/gui/wxpython/icons/palette.gif
   grass/branches/releasebranch_6_4/gui/wxpython/icons/silk/
Modified:
   grass/branches/releasebranch_6_4/gui/icons/Makefile
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/globalvar.py
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/histogram.py
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py
   grass/branches/releasebranch_6_4/gui/wxpython/icons/icon.py
   grass/branches/releasebranch_6_4/include/Make/Grass.make.in
Log:
New GRASS icons by Robert Szczepanek added (working draft)
   (merge from devbr6, r35177, r35179, r35188, r35247, r35330)


Modified: grass/branches/releasebranch_6_4/gui/icons/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/gui/icons/Makefile	2009-01-11 21:50:08 UTC (rev 35333)
+++ grass/branches/releasebranch_6_4/gui/icons/Makefile	2009-01-11 21:57:41 UTC (rev 35334)
@@ -2,25 +2,30 @@
 
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 
+SRCICO := $(wildcard *.ico)
+SRCICONS := $(wildcard grass/*.gif grass/vdigit/*.gif grass/vdigit/*.xbm silk/*.png grass2/*.png)
+ETCICONS := $(patsubst %,$(ETC)/gui/icons/%,$(SRCICONS) $(SRCICO))
+HTMLICONS := $(patsubst %,$(HTMLDIR)/icons/%,$(SRCICONS))
+
 default: $(ICONS)
 	if [ ! -d $(ETC)/gui ] ; then $(MKDIR) $(ETC)/gui ; fi
 	if [ ! -d $(ETC)/gui/icons ] ; then $(MKDIR) $(ETC)/gui/icons ; fi
 	if [ ! -d $(ETC)/gui/icons/grass ] ; then $(MKDIR) $(ETC)/gui/icons/grass ; fi
 	if [ ! -d $(ETC)/gui/icons/grass/vdigit ] ; then $(MKDIR) $(ETC)/gui/icons/grass/vdigit ; fi
 	if [ ! -d $(ETC)/gui/icons/silk ] ; then $(MKDIR) $(ETC)/gui/icons/silk ; fi
-	for icon in grass/*.gif ; do $(INSTALL_DATA) $$icon $(ETC)/gui/icons/grass ; done
-	for icon in grass/vdigit/*.gif ; do $(INSTALL_DATA) $$icon $(ETC)/gui/icons/grass/vdigit ; done
-	for icon in grass/vdigit/*.xbm ; do $(INSTALL_DATA) $$icon $(ETC)/gui/icons/grass/vdigit ; done
-	for icon in silk/*.png ; do $(INSTALL_DATA) $$icon $(ETC)/gui/icons/silk ; done
-	for icon in *.ico ; do $(INSTALL_DATA) $$icon $(ETC)/gui/icons ; done
-	if [ ! -d $(GISBASE)/docs ] ; then $(MKDIR) $(GISBASE)/docs ; fi
-	if [ ! -d $(GISBASE)/docs/html ] ; then $(MKDIR) $(GISBASE)/docs/html ; fi
-	if [ ! -d $(GISBASE)/docs/html/icons ] ; then $(MKDIR) $(GISBASE)/docs/html/icons ; fi
-	if [ ! -d $(GISBASE)/docs/html/icons/grass ] ; then $(MKDIR) $(GISBASE)/docs/html/icons/grass ; fi
-	if [ ! -d $(GISBASE)/docs/html/icons/grass/vdigit ] ; then $(MKDIR) $(GISBASE)/docs/html/icons/grass/vdigit ; fi
-	if [ ! -d $(GISBASE)/docs/html/icons/silk ] ; then $(MKDIR) $(GISBASE)/docs/html/icons/silk ; fi
-	for icon in grass/*.gif ; do $(INSTALL_DATA) $$icon $(GISBASE)/docs/html/icons/grass ; done
-	for icon in grass/vdigit/*.gif ; do $(INSTALL_DATA) $$icon $(GISBASE)/docs/html/icons/grass/vdigit ; done
-	for icon in grass/vdigit/*.xbm ; do $(INSTALL_DATA) $$icon $(GISBASE)/docs/html/icons/grass/vdigit ; done
-	for icon in silk/*.png ; do $(INSTALL_DATA) $$icon $(GISBASE)/docs/html/icons/silk ; done
+	if [ ! -d $(ETC)/gui/icons/grass2 ] ; then $(MKDIR) $(ETC)/gui/icons/grass2 ; fi
+	if [ ! -d $(DOCSDIR) ] ; then $(MKDIR) $(DOCSDIR) ; fi
+	if [ ! -d $(HTMLDIR) ] ; then $(MKDIR) $(HTMLDIR) ; fi
+	if [ ! -d $(HTMLDIR)/icons ] ; then $(MKDIR) $(HTMLDIR)/icons ; fi
+	if [ ! -d $(HTMLDIR)/icons/grass ] ; then $(MKDIR) $(HTMLDIR)/icons/grass ; fi
+	if [ ! -d $(HTMLDIR)/icons/grass/vdigit ] ; then $(MKDIR) $(HTMLDIR)/icons/grass/vdigit ; fi
+	if [ ! -d $(HTMLDIR)/icons/silk ] ; then $(MKDIR) $(HTMLDIR)/icons/silk ; fi
+	if [ ! -d $(HTMLDIR)/icons/grass2 ] ; then $(MKDIR) $(HTMLDIR)/icons/grass2 ; fi
+	$(MAKE) $(ETCICONS)
+	$(MAKE) $(HTMLICONS)
 
+$(ETC)/gui/icons/%: %
+	$(INSTALL_DATA) $< $@
+
+$(HTMLDIR)/icons/%: %
+	$(INSTALL_DATA) $< $@

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2 (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/attributes-display.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/attributes-display.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/cats-copy.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/cats-copy.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/cats-display.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/cats-display.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/centroid-create.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/centroid-create.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/create.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/create.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/create.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/element-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/element-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/element-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/erase.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/erase.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/erase.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-add.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/gcp-add.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-create.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/gcp-create.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-delete.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/gcp-delete.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-remove.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/gcp-remove.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-rms.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/gcp-rms.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/gcp-save.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/gcp-save.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/georectify.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/georectify.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/info.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/info.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/info.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-aspect-arrow-add.png (from rev 35179, grass/branches/develbranch_6/gui/icons/grass2/layer-aspect-arrow-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-command-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-command-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-command-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-grid-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-grid-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-grid-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-group-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-group-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-group-add.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-his-add.png (from rev 35179, grass/branches/develbranch_6/gui/icons/grass2/layer-his-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-label-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-label-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-label-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-open.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-open.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-open.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-raster-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-analyze.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-analyze.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-raster-analyze.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-histogram.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-histogram.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-raster-histogram.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-profile.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-raster-profile.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-raster-profile.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-redraw.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-redraw.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-redraw.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-remove.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-remove.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-remove.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-rgb-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-rgb-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-rgb-add.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-shaded-relief-add.png (from rev 35179, grass/branches/develbranch_6/gui/icons/grass2/layer-shaded-relief-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-vector-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/layer-vector-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/layer-vector-add.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/legend-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/legend-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/legend-add.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/line-create.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/line-create.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/line-delete.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/line-delete.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/line-edit.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/line-edit.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/line-move.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/line-move.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/line-split.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/line-split.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/map-export.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/map-export.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/map-export.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/measure-length.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/measure-length.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/measure-length.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/monitor-create.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/monitor-create.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/monitor-create.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/open.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/open.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/open.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/pan.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/pan.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/pan.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/point-create.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/point-create.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/pointer.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/pointer.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/pointer.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/polygon-create.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/polygon-create.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/print.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/print.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/print.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/quit.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/quit.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/quit.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/redraw.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/redraw.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/reload.png (from rev 35332, grass/branches/develbranch_6/gui/icons/grass2/reload.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/save.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/save.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/save.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/scalebar-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/scalebar-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/scalebar-add.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/settings.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/settings.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/show.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/show.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/show.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/table.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/table.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/table.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/text-add.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/text-add.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/text-add.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/tools.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/tools.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/undo.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/undo.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/vertex-create.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/vertex-create.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/vertex-delete.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/vertex-delete.png)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/vertex-move.png (from rev 35188, grass/branches/develbranch_6/gui/icons/grass2/vertex-move.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-in.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-in.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/zoom-in.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-last.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-last.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/zoom-last.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-more.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-more.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/zoom-more.png)
===================================================================
(Binary files differ)

Deleted: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-out.png
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/icons/grass2/zoom-out.png (from rev 35177, grass/branches/develbranch_6/gui/icons/grass2/zoom-out.png)
===================================================================
(Binary files differ)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/globalvar.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/globalvar.py	2009-01-11 21:50:08 UTC (rev 35333)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/globalvar.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -88,7 +88,7 @@
 DIALOG_TEXTCTRL_SIZE = (400, -1)
 DIALOG_LAYER_SIZE = (100, -1)
 
-MAP_WINDOW_SIZE = (680, 520)
+MAP_WINDOW_SIZE = (760, 570)
 HIST_WINDOW_SIZE = (500, 350)
 
 MAP_DISPLAY_STATUSBAR_MODE = [_("Coordinates"),

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/histogram.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/histogram.py	2009-01-11 21:50:08 UTC (rev 35333)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/histogram.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -367,8 +367,8 @@
                   Icons["histogram"].GetLabel(),
                   self.OnOptions),
                  ('rendermap',
-                  Icons["rendermap"].GetBitmap(),
-                  Icons["rendermap"].GetLabel(),
+                  Icons["displaymap"].GetBitmap(),
+                  Icons["displaymap"].GetLabel(),
                   self.OnRender),
                  ('erase',
                   Icons["erase"].GetBitmap(),

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py	2009-01-11 21:50:08 UTC (rev 35333)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/preferences.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -502,6 +502,7 @@
                                                                         'location',
                                                                         'mapset')
         self.internalSettings['advanced']['iconTheme']['choices'] = ('grass',
+                                                                     'grass2',
                                                                      'silk')
         self.internalSettings['cmd']['verbosity']['choices'] = ('grassenv',
                                                                 'verbose',
@@ -1778,6 +1779,7 @@
         self.InsertColumn(2, _('Group'))
         locationPath = os.path.join(grassenv.GetGRASSVariable('GISDBASE'),
                                     grassenv.GetGRASSVariable('LOCATION_NAME'))
+        
         for mapset in mapsets:
             index = self.InsertStringItem(sys.maxint, mapset)
             mapsetPath = os.path.join(locationPath,

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py	2009-01-11 21:50:08 UTC (rev 35333)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -137,7 +137,7 @@
 
         trgif = Icons["addrgb"].GetBitmap(bmpsize)
         self.rgb_icon = il.Add(trgif)
-
+        
         trgif = Icons["addhis"].GetBitmap(bmpsize)
         self.his_icon = il.Add(trgif)
 

Copied: grass/branches/releasebranch_6_4/gui/wxpython/icons/grass2_icons.py (from rev 35177, grass/branches/develbranch_6/gui/wxpython/icons/grass2_icons.py)
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/icons/grass2_icons.py	                        (rev 0)
+++ grass/branches/releasebranch_6_4/gui/wxpython/icons/grass2_icons.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -0,0 +1,105 @@
+"""
+New GRASS icon set
+http://robert.szczepanek.pl/icons.php
+"""
+__author__ = "Robert Szczepanek"
+
+import os
+
+import globalvar
+
+iconpath = os.path.join(globalvar.ETCDIR, "gui", "icons", "grass2")
+
+IconsGrass2 = {
+    # map display
+    "displaymap" : 'show.png',
+    "rendermap"  : 'layer-redraw.png',
+    "erase"      : 'erase.png',
+    "pointer"    : 'pointer.png',
+    "query"      : 'info.png',
+    "savefile"   : 'map-export.png',
+    "printmap"   : 'print.png',
+    "pan"        : 'pan.png', 
+    # zoom (mapdisplay)
+    "zoom_in"    : 'zoom-in.png',
+    "zoom_out"   : 'zoom-out.png',
+    "zoom_back"  : 'zoom-last.png',
+    "zoommenu"   : 'zoom-more.png',
+    # analyze raster (mapdisplay)
+    "analyze"    : 'layer-raster-analyze.png',
+    "measure"    : 'measure-length.png',
+    "profile"    : 'layer-raster-profile.png',
+    "histogram"  : 'layer-raster-histogram.png',
+    "font"       : None,
+    # overlay (mapdisplay)
+    "overlay"    : 'element-add.png',
+    "addtext"    : 'text-add.png',
+    "addbarscale": 'scalebar-add.png',
+    "addlegend"  : 'legend-add.png',
+    "quit"       : 'quit.png',
+    # digit
+    ## add feature
+    "digAddPoint": 'point-create.png',
+    "digAddLine" : 'line-create.png',
+    "digAddBoundary": 'polygon-create.png',
+    "digAddCentroid": 'centroid-create.png',
+    ## vertex
+    "digAddVertex" : 'vertex-create.png',
+    "digMoveVertex" : 'vertex-move.png',
+    "digRemoveVertex" : 'vertex-delete.png',
+    "digSplitLine" : 'line-split.png',
+    ## edit feature
+    "digEditLine" : 'line-edit.png',
+    "digMoveLine" : 'line-move.png',
+    "digDeleteLine" : 'line-delete.png',
+    ## cats
+    "digDispCats" : 'cats-display.png',
+    "digCopyCats" : 'cats-copy.png',
+    ## attributes
+    "digDispAttr" : 'attributes-display.png',
+    ## general
+    "digUndo" : 'undo.png',
+    "digSettings" : 'settings.png',
+    "digAdditionalTools" : 'tools.png',
+    # layer manager
+    "newdisplay" : 'monitor-create.png',
+    "workspaceNew" : 'create.png',
+    "workspaceLoad" : 'layer-open.png',
+    "workspaceOpen" : 'open.png',
+    "workspaceSave" : 'save.png',
+    "addrast"    : 'layer-raster-add.png',
+    "addrast3d"  : None,
+    "addshaded"  : 'layer-shaded-relief-add.png',
+    "addrarrow"  : 'layer-aspect-arrow-add.png',
+    "addrnum"    : None,
+    "addvect"    : 'layer-vector-add.png',
+    "addcmd"     : 'layer-command-add.png',
+    "addgrp"     : 'layer-group-add.png',
+    "addovl"     : 'layer-grid-add.png',
+    "addgrid"    : 'layer-grid-add.png',
+    "addlabels"  : 'layer-label-add.png',
+    "delcmd"     : 'layer-remove.png',
+    "attrtable"  : 'table.png',
+    "addrgb"     : 'layer-rgb-add.png',
+    "addhis"     : 'layer-his-add.png',
+    "addthematic": None,
+    "addchart"   : None,
+    "layeropts"  : 'settings.png',
+    # profile analysis
+    "transect"     : 'layer-raster-profile.png',
+    "profiledraw"  : 'show.png',
+    "profileopt"   : 'settings.png',
+    # georectify
+    "grGcpSet"     : 'gcp-create.png',
+    'grGcpClear'   : 'gcp-remove.png',
+    'grGeorect'    : 'georectify.png',
+    'grGcpRms'     : 'gcp-rms.png',
+    'grGcpRefresh' : 'redraw.png',
+    "grGcpSave"    : 'gcp-save.png',
+    "grGcpAdd"     : 'gcp-add.png',
+    "grGcpDelete"  : 'gcp-delete.png',
+    "grGcpReload"  : 'reload.png',
+    "grSettings"   : 'settings.png',
+    # nviz
+    "nvizSettings"   : 'settings.png',
+    }

Copied: grass/branches/releasebranch_6_4/gui/wxpython/icons/grass_icons.py (from rev 35177, grass/branches/develbranch_6/gui/wxpython/icons/grass_icons.py)
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/icons/grass_icons.py	                        (rev 0)
+++ grass/branches/releasebranch_6_4/gui/wxpython/icons/grass_icons.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -0,0 +1,108 @@
+"""
+Original GRASS icon set from old TCL/TK GUI
+"""
+
+import os
+
+import wx
+
+import globalvar
+
+iconpath = os.path.join(globalvar.ETCDIR, "gui", "icons", "grass")
+iconpath_vdigit  = os.path.join(globalvar.ETCDIR, "gui", "icons", "grass", "vdigit")
+
+IconsGrass = {
+    # map display
+    "displaymap" : 'gui-display.gif',
+    "rendermap"  : 'gui-redraw.gif',
+    "erase"      : 'gui-erase.gif',
+    "pointer"    : 'gui-pointer.gif',
+    "zoom_in"    : 'gui-zoom_in.gif',
+    "zoom_out"   : 'gui-zoom_out.gif',
+    "pan"        : 'gui-pan.gif',
+    "query"      : 'gui-query.gif',
+    "zoom_back"  : 'gui-zoom_back.gif',
+    "zoommenu"   : 'gui-mapzoom.gif',
+    "savefile"   : 'file-save.gif',
+    "printmap"   : 'file-print.gif',
+    "overlay"    : 'gui-overlay.gif',
+    # digit
+    ## add feature
+    "digAddPoint": 'new.point.gif',
+    "digAddLine" : 'new.line.gif',
+    "digAddBoundary": 'new.boundary.gif',
+    "digAddCentroid": 'new.centroid.gif',
+    ## vertex
+    "digAddVertex" : 'add.vertex.gif',
+    "digMoveVertex" : 'move.vertex.gif',
+    "digRemoveVertex" : 'rm.vertex.gif',
+    "digSplitLine" : 'split.line.gif',
+    ## edit feature
+    "digEditLine" : 'edit.line.gif',
+    "digMoveLine" : 'move.line.gif',
+    "digDeleteLine" : 'delete.line.gif',
+    ## cats
+    "digCopyCats" : 'copy.cats.gif',
+    "digDispCats" : 'display.cats.gif',
+    ## attributes
+    "digDispAttr" : 'display.attributes.gif',
+    ## general
+    "digUndo" : wx.ART_ERROR, # FIXME
+    "digSettings" : 'settings.gif',
+    "digAdditionalTools" : wx.ART_ERROR, # FIXME
+    # layer manager
+    "newdisplay" : 'gui-startmon.gif',
+    "workspaceNew" : 'file-new.gif',
+    "workspaceLoad" : 'file-new.gif', # change the icon if possible
+    "workspaceOpen" : 'file-open.gif',
+    "workspaceSave" : 'file-save.gif',
+    "addrast"    : 'element-cell.gif',
+    "addrast3d"  : 'element-grid3.gif',
+    "addvect"    : 'element-vector.gif',
+    "addcmd"     : 'gui-cmd.gif',
+    "addgrp"     : 'gui-group.gif',
+    "addovl"     : 'module-d.grid.gif',
+    "delcmd"     : 'edit-cut.gif',
+    "attrtable"  : 'db-values.gif',
+    "addrgb"     : 'module-d.rgb.gif',
+    "addhis"     : 'channel-his.gif',
+    "addshaded"  : 'module-d.shadedmap.gif',
+    "addrarrow"  : 'module-d.rast.arrow.gif',
+    "addrnum"    : 'module-d.rast.num.gif',
+    "addthematic": 'module-d.vect.thematic.gif',
+    "addchart"   : 'module-d.vect.chart.gif',
+    "addgrid"    : 'module-d.grid.gif',
+    "addgeodesic": 'module-d.geodesic.gif',
+    "addrhumb"   : 'module-d.rhumbline.gif',
+    "addlabels"  : 'module-d.labels.gif',
+    "addtext"    : 'module-d.text.gif',
+    "addbarscale": 'module-d.barscale.gif',
+    "addlegend"  : 'module-d.legend.gif',
+    "quit"       : 'gui-exit.gif',
+    # analyze raster
+    "analyze"    : 'gui-rastanalyze.gif',
+    "measure"    : 'gui-measure.gif',
+    "font"       : 'gui-font.gif',
+    "histogram"  : 'module-d.histogram.gif',
+    "color"      : 'edit-color.gif',
+    "layeropts"  : 'gui-layeroptions.gif',
+    # profile 
+    "profile"    : 'gui-profile.gif',
+    "transect"   : 'gui-profiledefine.gif',
+    # "profiledraw": 'gui-profiledraw.gif',
+    "profiledraw" : 'gui-display.gif',
+    "profileopt" : 'gui-profileopt.gif',
+    # georectify
+    'grGcpClear'   : 'gui-gcperase.gif',
+    'grGcpSet'     : 'gui-gcpset.gif',
+    'grGeorect'    : 'gui-georect.gif',
+    'grGcpRms'     : 'gui-rms.gif',
+    'grGcpRefresh' : 'gui-display.gif',
+    "grGcpSave"    : 'file-save.gif', 
+    "grGcpAdd"     : wx.ART_NEW, # FIXME
+    "grGcpDelete"  : wx.ART_DELETE, # FIXME
+    "grGcpReload"  : 'gui-redraw.gif',
+    "grSettings"   : 'edit-color.gif', 
+    # nviz 
+    "nvizSettings" : 'edit-color.gif',   
+    }

Modified: grass/branches/releasebranch_6_4/gui/wxpython/icons/icon.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/icons/icon.py	2009-01-11 21:50:08 UTC (rev 35333)
+++ grass/branches/releasebranch_6_4/gui/wxpython/icons/icon.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -21,6 +21,8 @@
 import os
 import sys
 
+import wxversion
+wxversion.select('2.8')
 import wx
 
 gmPath = os.path.join(os.getenv("GISBASE"), "etc", "wxpython", "gui_modules")
@@ -30,147 +32,56 @@
 import globalvar
 from preferences import globalSettings as UserSettings
 
-# iconpath = grassenv.GetGRASSVariable('GRASS_ICONPATH')
-# if not iconpath:
-#    iconpath = os.getenv("GRASS_ICONPATH")
+import grass_icons # default icon set
+iconpath_default = grass_icons.iconpath
+iconpath_vdigit = grass_icons.iconpath_vdigit
+Icons_default = grass_icons.IconsGrass
+
 iconTheme = UserSettings.Get(group='advanced', key='iconTheme', subkey='type')
-if iconTheme and iconTheme == 'silk':
-    iconpath = os.path.join(globalvar.ETCDIR, "gui", "icons", "silk")
+if iconTheme == 'silk':
+    import silk_icons
+    iconpath = silk_icons.iconpath
+    Icons = silk_icons.IconsSilk
+elif iconTheme == 'grass2':
+    import grass2_icons
+    iconpath = grass2_icons.iconpath
+    Icons = grass2_icons.IconsGrass2
 else:
-    iconpath = None
+    iconpath = iconpath_default
+    Icons = grass_icons.IconsGrass
 
-iconpath_default = os.path.join(globalvar.ETCDIR, "gui", "icons", "grass")
-iconpath_vdigit  = os.path.join(globalvar.ETCDIR, "gui", "icons", "grass", "vdigit")
-
-icons_default = {
-    # map display
-    "displaymap" : 'gui-display.gif',
-    "rendermap"  : 'gui-redraw.gif',
-    "erase"      : 'gui-erase.gif',
-    "pointer"    : 'gui-pointer.gif',
-    "zoom_in"    : 'gui-zoom_in.gif',
-    "zoom_out"   : 'gui-zoom_out.gif',
-    "pan"        : 'gui-pan.gif',
-    "query"      : 'gui-query.gif',
-    "zoom_back"  : 'gui-zoom_back.gif',
-    "zoommenu"   : 'gui-mapzoom.gif',
-    "savefile"   : 'file-save.gif',
-    "printmap"   : 'file-print.gif',
-    "overlay"    : 'gui-overlay.gif',
-    # digit
-    ## add feature
-    "digAddPoint": 'new.point.gif',
-    "digAddLine" : 'new.line.gif',
-    "digAddBoundary": 'new.boundary.gif',
-    "digAddCentroid": 'new.centroid.gif',
-    ## vertex
-    "digAddVertex" : 'add.vertex.gif',
-    "digMoveVertex" : 'move.vertex.gif',
-    "digRemoveVertex" : 'rm.vertex.gif',
-    "digSplitLine" : 'split.line.gif',
-    ## edit feature
-    "digEditLine" : 'edit.line.gif',
-    "digMoveLine" : 'move.line.gif',
-    "digDeleteLine" : 'delete.line.gif',
-    ## cats
-    "digCopyCats" : 'copy.cats.gif',
-    "digDispCats" : 'display.cats.gif',
-    ## attributes
-    "digDispAttr" : 'display.attributes.gif',
-    ## general
-    "digUndo" : wx.ART_ERROR, # FIXME
-    "digSettings" : 'settings.gif',
-    "digAdditionalTools" : wx.ART_ERROR, # FIXME
-    # layer manager
-    "newdisplay" : 'gui-startmon.gif',
-    "workspaceNew" : 'file-new.gif',
-    "workspaceLoad" : 'file-new.gif', # change the icon if possible
-    "workspaceOpen" : 'file-open.gif',
-    "workspaceSave" : 'file-save.gif',
-    "addrast"    : 'element-cell.gif',
-    "addrast3d"  : 'element-grid3.gif',
-    "addvect"    : 'element-vector.gif',
-    "addcmd"     : 'gui-cmd.gif',
-    "addgrp"     : 'gui-group.gif',
-    "addovl"     : 'module-d.grid.gif',
-    "delcmd"     : 'edit-cut.gif',
-    "attrtable"  : 'db-values.gif',
-    "addrgb"     : 'module-d.rgb.gif',
-    "addhis"     : 'channel-his.gif',
-    "addshaded"  : 'module-d.shadedmap.gif',
-    "addrarrow"  : 'module-d.rast.arrow.gif',
-    "addrnum"    : 'module-d.rast.num.gif',
-    "addthematic": 'module-d.vect.thematic.gif',
-    "addchart"   : 'module-d.vect.chart.gif',
-    "addgrid"    : 'module-d.grid.gif',
-    "addgeodesic": 'module-d.geodesic.gif',
-    "addrhumb"   : 'module-d.rhumbline.gif',
-    "addlabels"  : 'module-d.labels.gif',
-    "addtext"    : 'module-d.text.gif',
-    "addbarscale": 'module-d.barscale.gif',
-    "addlegend"  : 'module-d.legend.gif',
-    "quit"       : 'gui-exit.gif',
-    # analyze raster
-    "analyze"    : 'gui-rastanalyze.gif',
-    "measure"    : 'gui-measure.gif',
-    "font"       : 'gui-font.gif',
-    "histogram"  : 'module-d.histogram.gif',
-    "color"      : 'edit-color.gif',
-    "layeropts"  : 'gui-layeroptions.gif',
-    # profile 
-    "profile"    : 'gui-profile.gif',
-    "transect"   : 'gui-profiledefine.gif',
-    # "profiledraw": 'gui-profiledraw.gif',
-    "profiledraw" : 'gui-redraw.gif',
-    "profileopt" : 'gui-profileopt.gif',
-    # georectify
-    'grGcpClear'   : 'gui-gcperase.gif',
-    'grGcpSet'     : 'gui-gcpset.gif',
-    'grGeorect'    : 'gui-georect.gif',
-    'grGcpRms'     : 'gui-rms.gif',
-    'grGcpRefresh' : 'gui-display.gif',
-    "grGcpSave"    : 'file-save.gif', 
-    "grGcpAdd"     : wx.ART_NEW, # FIXME
-    "grGcpDelete"  : wx.ART_DELETE, # FIXME
-    "grGcpReload"  : 'gui-redraw.gif',
-    "grSettings"   : 'edit-color.gif', 
-    # nviz 
-    "nvizSettings" : 'edit-color.gif',   
-    }
-
 # merge icons dictionaries, join paths
 try:
     if iconpath and not os.path.exists(iconpath):
         raise OSError
-    if iconpath is not None and iconpath.find('silk') > -1: # silk icon theme
-        from silk import IconsSilk as icons_img
-        # use default icons if needed
-        for key, img in icons_default.iteritems():
-            if not icons_img.has_key(key): # add key
-                icons_img[key] = img
+    
+    if iconTheme != 'grass':
+        # use default icons if no icon is available
+        for key, img in Icons_default.iteritems():
+            if not Icons.has_key(key) or \
+                    Icons[key] is None: # add key
+                Icons[key] = img
+            
+            if Icons[key] == img:
                 if key[0:3] == 'dig':
                     iconpath_tmp = iconpath_vdigit
                 else:
                     iconpath_tmp = iconpath_default
             else:
                 iconpath_tmp = iconpath
-
-            if icons_img[key]: # join paths
-                if type (icons_img[key]) == type(''):
-                    icons_img[key] = os.path.join(iconpath_tmp, icons_img[key])
+            
+            Icons[key] = os.path.join(iconpath_tmp, Icons[key])
+    else:
+        for key, img in Icons.iteritems():
+            if img and type (Icons[key]) == type(''):
+                if key[0:3] == 'dig':
+                    Icons[key] = os.path.join(iconpath_vdigit, img)
+                else:
+                    Icons[key] = os.path.join(iconpath_default, img)
 except:
-    print >> sys.stderr, _("Unable to load icon theme, using default icon theme...")
-    iconpath = None
+    print >> sys.stderr, _("Unable to load icon theme...")
+    sys.exit(1)
 
-if iconpath is None: # default icons
-    icons_img = icons_default
-    for key, img in icons_img.iteritems():
-        if img and type (icons_img[key]) == type(''):
-            if key[0:3] == 'dig':
-                icons_img[key] = os.path.join(iconpath_vdigit, img)
-            else:
-                icons_img[key] = os.path.join(iconpath_default, img)
-
 class MetaIcon:
     """
     Handle icon metadata (image path, tooltip, ...)
@@ -196,7 +107,7 @@
         """Debugging"""
         return "label=%s, img=%s, type=%s" % (self.label, self.imagepath, self.type)
 
-    def GetBitmap (self, size=None):
+    def GetBitmap(self, size=None):
         """Get bitmap"""
         bmp = None
 
@@ -213,219 +124,222 @@
 
         return bmp
 
-    def GetLabel (self):
+    def GetLabel(self):
         return self.label
 
-    def GetDesc (self):
+    def GetDesc(self):
         return self.description
 
+    def GetImageName(self):
+        return os.path.basename(self.imagepath)
+
 #
 # create list of icon instances
 #
 Icons = {
     # map display
-    "displaymap" : MetaIcon (img=icons_img["displaymap"],
+    "displaymap" : MetaIcon (img=Icons["displaymap"],
                              label=_("Display map")),
-    "rendermap"  : MetaIcon (img=icons_img["rendermap"],
+    "rendermap"  : MetaIcon (img=Icons["rendermap"],
                              label=_("Re-render map"),
                              desc=_("Force re-rendering of all layers")),
-    "erase"      : MetaIcon (img=icons_img["erase"],
+    "erase"      : MetaIcon (img=Icons["erase"],
                              label=_("Erase display")),
-    "pointer"    : MetaIcon (img=icons_img["pointer"],
+    "pointer"    : MetaIcon (img=Icons["pointer"],
                              label=_("Pointer")),
-    "zoom_in"    : MetaIcon (img=icons_img["zoom_in"],
+    "zoom_in"    : MetaIcon (img=Icons["zoom_in"],
                              label=_("Zoom in"),
                              desc=_("Drag or click mouse to zoom")),
-    "zoom_out"   : MetaIcon (img=icons_img["zoom_out"],
+    "zoom_out"   : MetaIcon (img=Icons["zoom_out"],
                              label=_("Zoom out"),
                              desc=_("Drag or click mouse to unzoom")),
-    "pan"        : MetaIcon (img=icons_img["pan"],
+    "pan"        : MetaIcon (img=Icons["pan"],
                              label=_("Pan"),
                              desc=_("Drag with mouse to pan")),
-    "query" : MetaIcon (img=icons_img["query"],
+    "query" : MetaIcon (img=Icons["query"],
                         label=_("Query raster/vector map(s)"),
                         desc=_("Query selected raster/vector map(s)")),
-    "zoom_back"  : MetaIcon (img=icons_img["zoom_back"],
+    "zoom_back"  : MetaIcon (img=Icons["zoom_back"],
                              label=_("Return to previous zoom")),
-    "zoommenu"   : MetaIcon (img=icons_img["zoommenu"],
+    "zoommenu"   : MetaIcon (img=Icons["zoommenu"],
                              label=_("Zoom options"),
                              desc=_("Display zoom management")),
-    "overlay"    : MetaIcon (img=icons_img["overlay"],
+    "overlay"    : MetaIcon (img=Icons["overlay"],
                              label=_("Add overlay"),
                              desc=_("Add graphic overlays to map")),
-    "addbarscale": MetaIcon (img=icons_img["addbarscale"],
+    "addbarscale": MetaIcon (img=Icons["addbarscale"],
                              label=_("Add scalebar and north arrow")),
-    "addlegend"  : MetaIcon (img=icons_img["addlegend"],
+    "addlegend"  : MetaIcon (img=Icons["addlegend"],
                              label=_("Add legend")),
-    "savefile"   : MetaIcon (img=icons_img["savefile"],
+    "savefile"   : MetaIcon (img=Icons["savefile"],
                              label=_("Save display to PNG file")),
-    "printmap"   : MetaIcon (img=icons_img["printmap"],
+    "printmap"   : MetaIcon (img=Icons["printmap"],
                              label=_("Print display")),
     # gis manager
-    "newdisplay" : MetaIcon (img=icons_img["newdisplay"],
+    "newdisplay" : MetaIcon (img=Icons["newdisplay"],
                              label=_("Start new display")),
-    "workspaceNew" : MetaIcon (img=icons_img["workspaceNew"],
+    "workspaceNew" : MetaIcon (img=Icons["workspaceNew"],
                                label=_("Create new workspace file")),
-    "workspaceLoad" : MetaIcon (img=icons_img["workspaceLoad"],
+    "workspaceLoad" : MetaIcon (img=Icons["workspaceLoad"],
                                 label=_("Load map layers into workspace")),
-    "workspaceOpen" : MetaIcon (img=icons_img["workspaceOpen"],
+    "workspaceOpen" : MetaIcon (img=Icons["workspaceOpen"],
                                 label=_("Open existing workspace file")),
-    "workspaceSave" : MetaIcon (img=icons_img["workspaceSave"],
+    "workspaceSave" : MetaIcon (img=Icons["workspaceSave"],
                                 label=_("Save current workspace to file")),
     # TODO: "layer" is not conformant with GRASS vocabulary (vector layer: 1..x) ! 
-    "addrast"    : MetaIcon (img=icons_img["addrast"],
+    "addrast"    : MetaIcon (img=Icons["addrast"],
                              label=_("Add raster map layer")),
-    "addvect"    : MetaIcon (img=icons_img["addvect"],
+    "addvect"    : MetaIcon (img=Icons["addvect"],
                              label=_("Add vector map layer")),
-    "addcmd"     : MetaIcon (img=icons_img["addcmd"],
+    "addcmd"     : MetaIcon (img=Icons["addcmd"],
                              label=_("Add command layer")),
-    "addgrp"     : MetaIcon (img=icons_img["addgrp"],
+    "addgrp"     : MetaIcon (img=Icons["addgrp"],
                              label=_("Add layer group")),
-    "addovl"     : MetaIcon (img=icons_img["addovl"],
+    "addovl"     : MetaIcon (img=Icons["addovl"],
                              label=_("Add grid or vector labels overlay")),
-    "delcmd"     : MetaIcon (img=icons_img["delcmd"],
+    "delcmd"     : MetaIcon (img=Icons["delcmd"],
                              label=_("Delete selected layer")),
-    "quit"       : MetaIcon (img=icons_img["quit"],
+    "quit"       : MetaIcon (img=Icons["quit"],
                              label=_("Quit")),
-    "attrtable"  : MetaIcon (img=icons_img["attrtable"],
+    "attrtable"  : MetaIcon (img=Icons["attrtable"],
                              label=_("Show attribute table")),
-    "addrgb"     : MetaIcon (img=icons_img["addrgb"],
+    "addrgb"     : MetaIcon (img=Icons["addrgb"],
                              label=_("Add RGB layer")),
-    "addhis"     : MetaIcon (img=icons_img["addhis"],
+    "addhis"     : MetaIcon (img=Icons["addhis"],
                              label=_("Add HIS layer")),
-    "addshaded"  : MetaIcon (img=icons_img["addshaded"],
+    "addshaded"  : MetaIcon (img=Icons["addshaded"],
                              label=_("Add shaded relief map layer")),
-    "addrarrow"  : MetaIcon (img=icons_img["addrarrow"],
+    "addrarrow"  : MetaIcon (img=Icons["addrarrow"],
                              label=_("Add raster flow arrows")),
-    "addrnum"    : MetaIcon (img=icons_img["addrnum"],
+    "addrnum"    : MetaIcon (img=Icons["addrnum"],
                              label=_("Add raster cell numbers")),
-    "addthematic": MetaIcon (img=icons_img["addthematic"],
+    "addthematic": MetaIcon (img=Icons["addthematic"],
                              label=_("Add thematic layer")),
-    "addchart"   : MetaIcon (img=icons_img["addchart"],
+    "addchart"   : MetaIcon (img=Icons["addchart"],
                              label=_("Add thematic chart layer")),
-    "addgrid"    : MetaIcon (img=icons_img["addgrid"],
+    "addgrid"    : MetaIcon (img=Icons["addgrid"],
                              label=_("Add grid layer")),
-    "addgeodesic": MetaIcon (img=icons_img["addgeodesic"],
+    "addgeodesic": MetaIcon (img=Icons["addgeodesic"],
                              label=_("Add geodesic line layer")),
-    "addrhumb"   : MetaIcon (img=icons_img["addrhumb"],
+    "addrhumb"   : MetaIcon (img=Icons["addrhumb"],
                              label=_("Add rhumbline layer")),
-    "addlabels"  : MetaIcon (img=icons_img["addlabels"],
+    "addlabels"  : MetaIcon (img=Icons["addlabels"],
                              label=_("Add labels")),
-    "addtext"    : MetaIcon (img=icons_img["addtext"],
+    "addtext"    : MetaIcon (img=Icons["addtext"],
                              label=_("Add text layer")),
-    "addrast3d"  : MetaIcon (img=icons_img["addrast3d"],
+    "addrast3d"  : MetaIcon (img=Icons["addrast3d"],
                              label=_("Add 3D raster map")),
     # digit
-    "digAddPoint": MetaIcon (img=icons_img["digAddPoint"],
+    "digAddPoint": MetaIcon (img=Icons["digAddPoint"],
                              label=_("Digitize new point"),
                              desc=_("Left: new point")),
-    "digAddLine" : MetaIcon (img=icons_img["digAddLine"],
+    "digAddLine" : MetaIcon (img=Icons["digAddLine"],
                              label=_("Digitize new line"),
                              desc=_("Left: new point; Middle: undo last point; Right: close line")),
-    "digAddBoundary": MetaIcon (img=icons_img["digAddBoundary"],
+    "digAddBoundary": MetaIcon (img=Icons["digAddBoundary"],
                                 label=_("Digitize new boundary"),
                                 desc=_("Left: new point; Middle: undo last point; Right: close line")),
-    "digAddCentroid": MetaIcon (img=icons_img["digAddCentroid"],
+    "digAddCentroid": MetaIcon (img=Icons["digAddCentroid"],
                                 label=_("Digitize new centroid"),
                              desc=_("Left: new point")),
-    "digAddVertex": MetaIcon (img=icons_img["digAddVertex"],
+    "digAddVertex": MetaIcon (img=Icons["digAddVertex"],
                               label=_("Add new vertex"),
                               desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digCopyCats": MetaIcon (img=icons_img["digCopyCats"],
+    "digCopyCats": MetaIcon (img=Icons["digCopyCats"],
                              label=_("Copy categories"),
                              desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digDeleteLine": MetaIcon (img=icons_img["digDeleteLine"],
+    "digDeleteLine": MetaIcon (img=Icons["digDeleteLine"],
                                label=_("Delete feature(s)"),
                                desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digDispAttr": MetaIcon (img=icons_img["digDispAttr"],
+    "digDispAttr": MetaIcon (img=Icons["digDispAttr"],
                              label=_("Display/update attributes"),
                              desc=_("Left: Select")),
-    "digDispCats": MetaIcon (img=icons_img["digDispCats"],
+    "digDispCats": MetaIcon (img=Icons["digDispCats"],
                              label=_("Display/update categories"),
                              desc=_("Left: Select")),
-    "digEditLine": MetaIcon (img=icons_img["digEditLine"],
+    "digEditLine": MetaIcon (img=Icons["digEditLine"],
                              label=_("Edit line/boundary"),
                              desc=_("Left: new point; Middle: undo last point; Right: close line")),
-    "digMoveLine": MetaIcon (img=icons_img["digMoveLine"],
+    "digMoveLine": MetaIcon (img=Icons["digMoveLine"],
                              label=_("Move feature(s)"),
                              desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digMoveVertex": MetaIcon (img=icons_img["digMoveVertex"],
+    "digMoveVertex": MetaIcon (img=Icons["digMoveVertex"],
                                label=_("Move vertex"),
                                desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digRemoveVertex": MetaIcon (img=icons_img["digRemoveVertex"],
+    "digRemoveVertex": MetaIcon (img=Icons["digRemoveVertex"],
                                  label=_("Remove vertex"),
                                  desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digSettings": MetaIcon (img=icons_img["digSettings"],
+    "digSettings": MetaIcon (img=Icons["digSettings"],
                              label=_("Settings"),
                              desc=_("Settings dialog for digitization tool")),
-    "digSplitLine": MetaIcon (img=icons_img["digSplitLine"],
+    "digSplitLine": MetaIcon (img=Icons["digSplitLine"],
                               label=_("Split line/boundary"),
                               desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digExit"    : MetaIcon (img=icons_img["quit"],
+    "digExit"    : MetaIcon (img=Icons["quit"],
                              label=_("Quit digitizing tool")),
-    "digAdditionalTools" : MetaIcon (img=icons_img["digAdditionalTools"],
+    "digAdditionalTools" : MetaIcon (img=Icons["digAdditionalTools"],
                                      label=_("Additional tools " \
                                                  "(copy, flip, connect, etc.)"),
                                      desc=_("Left: Select; Middle: Unselect; Right: Confirm")),
-    "digUndo" : MetaIcon (img=icons_img["digUndo"],
+    "digUndo" : MetaIcon (img=Icons["digUndo"],
                           label=_("Undo"),
                           desc=_("Undo previous changes")),
     # analyze raster
-    "analyze"    : MetaIcon (img=icons_img["analyze"],
+    "analyze"    : MetaIcon (img=Icons["analyze"],
                              label=_("Analyze map")),
-    "measure"    : MetaIcon (img=icons_img["measure"],
+    "measure"    : MetaIcon (img=Icons["measure"],
                              label=_("Measure distance")),
-    "transect"   : MetaIcon (img=icons_img["transect"],
+    "transect"   : MetaIcon (img=Icons["transect"],
                              label=_("Draw transect in map display window to profile")),
-    "profile"    : MetaIcon (img=icons_img["profile"],
+    "profile"    : MetaIcon (img=Icons["profile"],
                              label=_("Profile surface map")),
-    "profiledraw": MetaIcon (img=icons_img["profiledraw"],
+    "profiledraw": MetaIcon (img=Icons["profiledraw"],
                              label=_("Draw/re-draw profile")),
-    "profileopt" : MetaIcon (img=icons_img["profileopt"],
+    "profileopt" : MetaIcon (img=Icons["profileopt"],
                              label=_("Profile options")),
-    "histogram"  : MetaIcon (img=icons_img["histogram"],
+    "histogram"  : MetaIcon (img=Icons["histogram"],
                              label=_("Create histogram of image or raster file")),
-    "font"       : MetaIcon (img=icons_img["font"],
+    "font"       : MetaIcon (img=Icons["font"],
                              label=_("Select font")),
-    "color"      : MetaIcon (img=icons_img["color"],
+    "color"      : MetaIcon (img=Icons["color"],
                              label=_("Select color")),
-    "layeropts"  : MetaIcon (img=icons_img["layeropts"],
+    "layeropts"  : MetaIcon (img=Icons["layeropts"],
                              label=_("Set options")),
-    "analyze"    : MetaIcon (img=icons_img["analyze"],
+    "analyze"    : MetaIcon (img=Icons["analyze"],
                              label=_("Analyze")),
     # georectify
-    'grGcpSet'     : MetaIcon (img=icons_img["grGcpSet"],
+    'grGcpSet'     : MetaIcon (img=Icons["grGcpSet"],
                              label=_("Set GCP"),
                              desc=_("Define GCP (Ground Control Points)")),
-    'grGeorect'    : MetaIcon (img=icons_img["grGeorect"],
+    'grGeorect'    : MetaIcon (img=Icons["grGeorect"],
                              label=_("Georectify")),
-    'grGcpRms'        : MetaIcon (img=icons_img["grGcpRms"],
+    'grGcpRms'        : MetaIcon (img=Icons["grGcpRms"],
                                   label=_("Recalculate RMS error")),
-    'grGcpRefresh' : MetaIcon (img=icons_img["grGcpRefresh"],
+    'grGcpRefresh' : MetaIcon (img=Icons["grGcpRefresh"],
                                label=_("Redraw GCP markers in map displays")),
-    'grGcpSave' : MetaIcon (img=icons_img["grGcpSave"],
+    'grGcpSave' : MetaIcon (img=Icons["grGcpSave"],
                             label=_("Save GCPs to POINTS file")),
-    'grGcpAdd' : MetaIcon (img=icons_img["grGcpAdd"],
+    'grGcpAdd' : MetaIcon (img=Icons["grGcpAdd"],
                            label=_("Add new GCP")),
-    'grGcpDelete' : MetaIcon (img=icons_img["grGcpDelete"],
+    'grGcpDelete' : MetaIcon (img=Icons["grGcpDelete"],
                               label=_("Delete selected GCP")),
-    'grGcpClear' : MetaIcon (img=icons_img["grGcpClear"],
+    'grGcpClear' : MetaIcon (img=Icons["grGcpClear"],
                              label=_("Clear selected GCP")),
-    'grGcpReload' : MetaIcon (img=icons_img["grGcpReload"],
+    'grGcpReload' : MetaIcon (img=Icons["grGcpReload"],
                               label=_("Reload GCPs from selected POINTS file")),
-    'grGcpQuit' : MetaIcon (img=icons_img["quit"],
+    'grGcpQuit' : MetaIcon (img=Icons["quit"],
                             label=_("Quit georectification module")),
-    "grSettings": MetaIcon (img=icons_img["grSettings"],
+    "grSettings": MetaIcon (img=Icons["grSettings"],
                             label=_("Settings"),
                             desc=_("Settings dialog for georectification tool")),
     # nviz
-    "nvizSettings": MetaIcon (img=icons_img["nvizSettings"],
+    "nvizSettings": MetaIcon (img=Icons["nvizSettings"],
                               label=_("Settings"),
                               desc=_("Show Nviz settings dialog")),
     }
 
 # testing ...
 if __name__ == "__main__":
-    for k,v in Icons.iteritems():
-        print k, "/", v
+    for k, v in Icons.iteritems():
+        print v.GetImageName()
 

Deleted: grass/branches/releasebranch_6_4/gui/wxpython/icons/palette.gif
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_6_4/gui/wxpython/icons/silk_icons.py (from rev 35177, grass/branches/develbranch_6/gui/wxpython/icons/silk_icons.py)
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/icons/silk_icons.py	                        (rev 0)
+++ grass/branches/releasebranch_6_4/gui/wxpython/icons/silk_icons.py	2009-01-11 21:57:41 UTC (rev 35334)
@@ -0,0 +1,107 @@
+"""
+Silk icon set, v1.3
+http://www.famfamfam.com/lab/icons/silk/
+
+"""
+__author__ = "Mark James"
+__version__ = "1.3"
+
+import os
+
+import globalvar
+
+iconpath = os.path.join(globalvar.ETCDIR, "gui", "icons", "silk")
+
+IconsSilk = {
+    # map display
+    "displaymap" : 'map_go.png',
+    "rendermap"  : 'arrow_refresh.png',
+    "erase"      : 'cross.png',
+    "pointer"    : 'cursor.png',
+    "query"      : 'information.png',
+    "savefile"   : 'picture_save.png',
+    "printmap"   : 'printer.png',
+    "pan"        : 'arrow_out.png', 
+    # zoom (mapdisplay)
+    "zoom_in"    : 'zoom_in.png',
+    "zoom_out"   : 'zoom_out.png',
+    "zoom_back"  : 'zoom_back.png',
+    "zoommenu"   : 'zoom.png',
+    # analyze raster (mapdisplay)
+    "analyze"    : 'application_lightning.png',
+    "measure"    : 'sum.png',
+    "profile"    : 'wand.png',
+    "histogram"  : 'chart_bar.png',
+    "font"       : 'font.png',
+    # overlay (mapdisplay)
+    "overlay"    : 'overlays.png',
+    "addtext"    : 'textfield_add.png',
+    "addbarscale": 'page_white_picture.png',
+    "addlegend"  : 'page_green.png',
+    "quit"       : 'door_in.png',
+    # digit
+    ## add feature
+    "digAddPoint": 'bullet_add.png',
+    "digAddLine" : 'vector_add.png',
+    "digAddBoundary": 'shape_handles.png',
+    "digAddCentroid": 'shape_square_add.png',
+    ## vertex
+    "digAddVertex" : 'chart_line_add.png',
+    "digMoveVertex" : 'chart_line.png',
+    "digRemoveVertex" : 'chart_line_delete.png',
+    "digSplitLine" : 'chart_line_link.png',
+    ## edit feature
+    "digEditLine" : 'chart_line_edit.png',
+    "digMoveLine" : 'bullet_go.png',
+    "digDeleteLine" : 'vector_delete.png',
+    ## cats
+    "digDispCats" : 'chart_organisation.png',
+    "digCopyCats" : 'chart_organisation_add.png',
+    ## attributes
+    "digDispAttr" : 'table.png',
+    ## general
+    "digUndo" : 'arrow_undo.png',
+    "digSettings" : 'color_swatch.png',
+    "digAdditionalTools" : 'plugin.png',
+    # layer manager
+    "newdisplay" : 'application_add.png',
+    "workspaceNew" : 'page_white.png',
+    "workspaceLoad" : 'page_white_get.png',
+    "workspaceOpen" : 'folder.png',
+    "workspaceSave" : 'page_save.png',
+    "addrast"    : 'image_add.png',
+    "addrast3d"  : 'bricks.png',
+    "addshaded"  : 'picture_empty.png',
+    "addrarrow"  : 'arrow_inout.png',
+    "addrnum"    : 'color_swatch.png',
+    "addvect"    : 'map_add.png',
+    "addcmd"     : 'cog_add.png',
+    "addgrp"     : 'folder_add.png',
+    "addovl"     : 'images.png',
+    "addgrid"    : 'application_view_icons.png',
+    "addlabels"  : 'tag_blue_add.png',
+    "delcmd"     : 'bin_closed.png',
+    "attrtable"  : 'application_view_columns.png',
+    "addrgb"     : 'rgb.png',
+    "addhis"     : 'his.png',
+    "addthematic": 'thematic.png',
+    "addchart"   : 'chart_bar.png',
+    "layeropts"  : 'map_edit.png',
+    # profile analysis
+    "transect"   : 'image_edit.png',
+    "profiledraw"  : 'arrow_refresh.png',
+    "profileopt"   : 'color_swatch.png',
+    # georectify
+    "grGcpSet"     : 'bullet_add.png',
+    'grGcpClear'   : 'cross.png',
+    'grGeorect'    : 'application_lightning.png',
+    'grGcpRms'     : 'error.png',
+    'grGcpRefresh' : 'arrow_refresh.png',
+    "grGcpSave"    : 'picture_save.png',
+    "grGcpAdd"     : 'bullet_add.png', 
+    "grGcpDelete"  : 'bullet_delete.png',
+    "grGcpReload"  : 'arrow_refresh.png',
+    "grSettings"   : 'color_swatch.png',
+    # nviz
+    "nvizSettings"   : 'color_swatch.png',
+    }

Modified: grass/branches/releasebranch_6_4/include/Make/Grass.make.in
===================================================================
--- grass/branches/releasebranch_6_4/include/Make/Grass.make.in	2009-01-11 21:50:08 UTC (rev 35333)
+++ grass/branches/releasebranch_6_4/include/Make/Grass.make.in	2009-01-11 21:57:41 UTC (rev 35334)
@@ -61,6 +61,9 @@
 ETC             = $(ARCH_DISTDIR)/etc
 DRIVERDIR       = $(ARCH_DISTDIR)/driver
 DBDRIVERDIR     = $(ARCH_DISTDIR)/driver/db
+DOCSDIR         = $(ARCH_DISTDIR)/docs
+HTMLDIR         = $(ARCH_DISTDIR)/docs/html
+SCRIPTDIR       = $(ARCH_DISTDIR)/scripts
 
 FONTDIR         = $(ARCH_DISTDIR)/fonts
 



More information about the grass-commit mailing list