Bläddra i källkod

wxGUI/modeler: add new icon for loop/series (thanks to Robert Szczepanek)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48718 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 år sedan
förälder
incheckning
75ceaaabce

BIN
gui/icons/grass/loop-add.png


+ 2 - 0
gui/wxpython/gui_modules/toolbars.py

@@ -1367,6 +1367,8 @@ class ModelToolbar(AbstractToolbar):
                                       self.parent.OnAddData),
                                      ('relation', icons['relation'],
                                       self.parent.OnDefineRelation),
+                                     ('loop', icons['loop'],
+                                      self.parent.OnDefineLoop),
                                      (None, ),
                                      ('redraw', icons['redraw'],
                                       self.parent.OnCanvasRefresh),

+ 2 - 0
gui/wxpython/icons/icon.py

@@ -372,6 +372,8 @@ Icons = {
                                 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),

+ 0 - 1
gui/wxpython/xml/menudata_modeler.xml

@@ -122,7 +122,6 @@
 	  <label>Validate model</label>
 	  <help>Validate entire model</help>
 	  <handler>OnValidateModel</handler>
-	  <shortcut>Ctrl+V</shortcut>
 	</menuitem>
       </items>
     </menu>