فهرست منبع

wxGUI: simplify title of MapsetAccess dialog
(merge https://trac.osgeo.org/grass/changeset/43970 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43971 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 14 سال پیش
والد
کامیت
4d697236ca
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      gui/wxpython/gui_modules/preferences.py

+ 4 - 4
gui/wxpython/gui_modules/preferences.py

@@ -2157,10 +2157,10 @@ class MapsetAccess(wx.Dialog):
     """!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')