[GRASS-SVN] r43971 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Oct 18 11:10:27 EDT 2010


Author: martinl
Date: 2010-10-18 08:10:27 -0700 (Mon, 18 Oct 2010)
New Revision: 43971

Modified:
   grass/trunk/gui/wxpython/gui_modules/preferences.py
Log:
wxGUI: simplify title of MapsetAccess dialog
(merge r43970 from devbr6)


Modified: grass/trunk/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/preferences.py	2010-10-18 15:06:55 UTC (rev 43970)
+++ grass/trunk/gui/wxpython/gui_modules/preferences.py	2010-10-18 15:10:27 UTC (rev 43971)
@@ -2157,10 +2157,10 @@
     """!Controls setting options and displaying/hiding map overlay
     decorations
     """
-    def __init__(self, parent, id, title=_('Set/unset access to mapsets in current location'),
-                 pos=wx.DefaultPosition, size=(350, 400),
-                 style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER):
-        
+    def __init__(self, parent, id = wx.ID_ANY,
+                 title=_('Manage access to mapsets'),
+                 size = (350, 400),
+                 style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER, **kwargs):
         wx.Dialog.__init__(self, parent, id, title, pos, size, style)
 
         self.all_mapsets_ordered = utils.ListOfMapsets(get = 'ordered')



More information about the grass-commit mailing list