[GRASS-SVN] r48718 - in grass/trunk/gui: icons/grass
wxpython/gui_modules wxpython/icons wxpython/xml
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Oct 10 18:06:05 EDT 2011
Author: martinl
Date: 2011-10-10 15:06:05 -0700 (Mon, 10 Oct 2011)
New Revision: 48718
Added:
grass/trunk/gui/icons/grass/loop-add.png
Modified:
grass/trunk/gui/wxpython/gui_modules/toolbars.py
grass/trunk/gui/wxpython/icons/icon.py
grass/trunk/gui/wxpython/xml/menudata_modeler.xml
Log:
wxGUI/modeler: add new icon for loop/series (thanks to Robert Szczepanek)
Added: grass/trunk/gui/icons/grass/loop-add.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/icons/grass/loop-add.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py 2011-10-10 21:49:34 UTC (rev 48717)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py 2011-10-10 22:06:05 UTC (rev 48718)
@@ -1367,6 +1367,8 @@
self.parent.OnAddData),
('relation', icons['relation'],
self.parent.OnDefineRelation),
+ ('loop', icons['loop'],
+ self.parent.OnDefineLoop),
(None, ),
('redraw', icons['redraw'],
self.parent.OnCanvasRefresh),
Modified: grass/trunk/gui/wxpython/icons/icon.py
===================================================================
--- grass/trunk/gui/wxpython/icons/icon.py 2011-10-10 21:49:34 UTC (rev 48717)
+++ grass/trunk/gui/wxpython/icons/icon.py 2011-10-10 22:06:05 UTC (rev 48718)
@@ -372,6 +372,8 @@
label = _('Add data to model')),
'relation' : MetaIcon(img = iconSet.get('relation-create', wx.ART_ERROR),
label = _('Manually define relation between data and commands')),
+ 'loop' : MetaIcon(img = iconSet.get('loop-add', wx.ART_ERROR),
+ label = _('Add loop/series')),
'run' : MetaIcon(img = iconSet.get('execute', wx.ART_ERROR),
label = _('Run model')),
'validate' : MetaIcon(img = iconSet.get('check', wx.ART_ERROR),
Modified: grass/trunk/gui/wxpython/xml/menudata_modeler.xml
===================================================================
--- grass/trunk/gui/wxpython/xml/menudata_modeler.xml 2011-10-10 21:49:34 UTC (rev 48717)
+++ grass/trunk/gui/wxpython/xml/menudata_modeler.xml 2011-10-10 22:06:05 UTC (rev 48718)
@@ -122,7 +122,6 @@
<label>Validate model</label>
<help>Validate entire model</help>
<handler>OnValidateModel</handler>
- <shortcut>Ctrl+V</shortcut>
</menuitem>
</items>
</menu>
More information about the grass-commit
mailing list