[GRASS-SVN] r45428 - in grass/branches/develbranch_6/gui:
icons/grass2 wxpython/icons
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 18 07:22:56 EST 2011
Author: martinl
Date: 2011-02-18 04:22:56 -0800 (Fri, 18 Feb 2011)
New Revision: 45428
Added:
grass/branches/develbranch_6/gui/icons/grass2/ps-export.png
grass/branches/develbranch_6/gui/icons/grass2/ps-script.png
Modified:
grass/branches/develbranch_6/gui/wxpython/icons/grass2_icons.py
grass/branches/develbranch_6/gui/wxpython/icons/grass_icons.py
grass/branches/develbranch_6/gui/wxpython/icons/icon.py
grass/branches/develbranch_6/gui/wxpython/icons/silk_icons.py
Log:
new icons for ps.map GUI front-end by Robert Szczepanek
(see http://trac.osgeo.org/osgeo/ticket/668)
Copied: grass/branches/develbranch_6/gui/icons/grass2/ps-export.png (from rev 45427, grass/trunk/gui/icons/grass2/ps-export.png)
===================================================================
(Binary files differ)
Copied: grass/branches/develbranch_6/gui/icons/grass2/ps-script.png (from rev 45427, grass/trunk/gui/icons/grass2/ps-script.png)
===================================================================
(Binary files differ)
Modified: grass/branches/develbranch_6/gui/wxpython/icons/grass2_icons.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/icons/grass2_icons.py 2011-02-18 12:13:39 UTC (rev 45427)
+++ grass/branches/develbranch_6/gui/wxpython/icons/grass2_icons.py 2011-02-18 12:22:56 UTC (rev 45428)
@@ -125,4 +125,6 @@
"settings" : 'settings.png',
"redraw" : 'redraw.png',
"help" : 'help.png',
+ "psScript" : 'ps-script.png',
+ "psExport" : 'ps-export.png',
}
Modified: grass/branches/develbranch_6/gui/wxpython/icons/grass_icons.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/icons/grass_icons.py 2011-02-18 12:13:39 UTC (rev 45427)
+++ grass/branches/develbranch_6/gui/wxpython/icons/grass_icons.py 2011-02-18 12:22:56 UTC (rev 45428)
@@ -127,4 +127,6 @@
"settings" : 'edit-color.gif',
"redraw" : 'gui-display.gif',
"help" : wx.ART_ERROR,
+ "psScript" : wx.ART_ERROR,
+ "psExport" : wx.ART_ERROR,
}
Modified: grass/branches/develbranch_6/gui/wxpython/icons/icon.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/icons/icon.py 2011-02-18 12:13:39 UTC (rev 45427)
+++ grass/branches/develbranch_6/gui/wxpython/icons/icon.py 2011-02-18 12:22:56 UTC (rev 45428)
@@ -77,8 +77,7 @@
else:
Icons[key] = os.path.join(iconpath_default, img)
except:
- print >> sys.stderr, _("Unable to load icon theme...")
- sys.exit(1)
+ sys.exit(_("Unable to load icon theme..."))
class MetaIcon:
"""!Handle icon metadata (image path, tooltip, ...)
@@ -409,6 +408,11 @@
"modelHelp" : MetaIcon (img=Icons["help"],
label=_("Show help"),
desc = _("Display Graphical Modeler manual page")),
+ # ps.map
+ "psScript" : MetaIcon (img=Icons["psScript"],
+ label=_("Generate instruction file")),
+ "psExport" : MetaIcon (img=Icons["psExport"],
+ label=_("Generate PostScript output")),
}
# testing ...
Modified: grass/branches/develbranch_6/gui/wxpython/icons/silk_icons.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/icons/silk_icons.py 2011-02-18 12:13:39 UTC (rev 45427)
+++ grass/branches/develbranch_6/gui/wxpython/icons/silk_icons.py 2011-02-18 12:22:56 UTC (rev 45428)
@@ -129,4 +129,6 @@
"settings" : 'color_swatch.png',
"redraw" : 'arrow_refresh.png',
"help" : wx.ART_ERROR,
+ "psScript" : wx.ART_ERROR,
+ "psExport" : wx.ART_ERROR,
}
More information about the grass-commit
mailing list