[GRASS-SVN] r68375 - grass/trunk/gui/wxpython/datacatalog

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 3 12:16:43 PDT 2016


Author: martinl
Date: 2016-05-03 12:16:43 -0700 (Tue, 03 May 2016)
New Revision: 68375

Modified:
   grass/trunk/gui/wxpython/datacatalog/tree.py
Log:
wxGUI/datacatalog: append separator to the contextual menu (cosmetics)

Modified: grass/trunk/gui/wxpython/datacatalog/tree.py
===================================================================
--- grass/trunk/gui/wxpython/datacatalog/tree.py	2016-05-03 19:04:42 UTC (rev 68374)
+++ grass/trunk/gui/wxpython/datacatalog/tree.py	2016-05-03 19:16:43 UTC (rev 68375)
@@ -834,6 +834,7 @@
 
         if not isinstance(self._giface, StandaloneGrassInterface) and \
            self.selected_location.label == genv['LOCATION_NAME']:
+            menu.AppendSeparator()
             item = wx.MenuItem(menu, wx.NewId(), _("&Display layer"))
             menu.AppendItem(item)
             self.Bind(wx.EVT_MENU, self.OnDisplayLayer, item)



More information about the grass-commit mailing list