[GRASS-SVN] r58525 - in grass/trunk/gui/wxpython: gmodeler psmap

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 25 08:57:05 PST 2013


Author: martinl
Date: 2013-12-25 08:57:05 -0800 (Wed, 25 Dec 2013)
New Revision: 58525

Modified:
   grass/trunk/gui/wxpython/gmodeler/frame.py
   grass/trunk/gui/wxpython/psmap/frame.py
Log:
wxGUI/modeler+psmap: show separators


Modified: grass/trunk/gui/wxpython/gmodeler/frame.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/frame.py	2013-12-25 16:45:52 UTC (rev 58524)
+++ grass/trunk/gui/wxpython/gmodeler/frame.py	2013-12-25 16:57:05 UTC (rev 58525)
@@ -85,7 +85,7 @@
         self.SetName("Modeler")
         self.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))
         
-        self.menubar = Menu(parent = self, model = ModelerMenuData().GetModel())        
+        self.menubar = Menu(parent = self, model = ModelerMenuData().GetModel(separators=True))        
         self.SetMenuBar(self.menubar)
         
         self.toolbar = ModelerToolbar(parent = self)

Modified: grass/trunk/gui/wxpython/psmap/frame.py
===================================================================
--- grass/trunk/gui/wxpython/psmap/frame.py	2013-12-25 16:45:52 UTC (rev 58524)
+++ grass/trunk/gui/wxpython/psmap/frame.py	2013-12-25 16:57:05 UTC (rev 58525)
@@ -62,7 +62,7 @@
         wx.Frame.__init__(self, parent = parent, id = id, title = title, name = "PsMap", **kwargs)
         self.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))
         #menubar
-        self.menubar = Menu(parent = self, model = PsMapMenuData().GetModel())
+        self.menubar = Menu(parent = self, model = PsMapMenuData().GetModel(separators=True))
         self.SetMenuBar(self.menubar)
         #toolbar
 



More information about the grass-commit mailing list