[GRASS-SVN] r43031 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 9 15:29:38 EDT 2010
Author: martinl
Date: 2010-08-09 19:29:38 +0000 (Mon, 09 Aug 2010)
New Revision: 43031
Modified:
grass/branches/develbranch_6/gui/wxpython/gis_set.py
Log:
wxGUI/welcome screen: focus 'Start GRASS' when creating new mapset
(merge r43029 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py 2010-08-09 19:27:54 UTC (rev 43030)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py 2010-08-09 19:29:38 UTC (rev 43031)
@@ -124,17 +124,17 @@
# buttons
self.bstart = wx.Button(parent=self.panel, id=wx.ID_ANY,
- label=_("Start GRASS"))
+ label=_("Start &GRASS"))
self.bstart.SetDefault()
self.bexit = wx.Button(parent=self.panel, id=wx.ID_EXIT)
self.bstart.SetMinSize((180, self.bexit.GetSize()[1]))
self.bhelp = wx.Button(parent=self.panel, id=wx.ID_HELP)
self.bbrowse = wx.Button(parent=self.panel, id=wx.ID_ANY,
- label=_("Browse"))
+ label=_("&Browse"))
self.bmapset = wx.Button(parent=self.panel, id=wx.ID_ANY,
- label=_("Create mapset"))
+ label=_("&Create mapset"))
self.bwizard = wx.Button(parent=self.panel, id=wx.ID_ANY,
- label=_("Location wizard"))
+ label=_("&Location wizard"))
self.manageloc = wx.Choice(parent=self.panel, id=wx.ID_ANY,
choices=[_('Rename mapset'), _('Rename location'),
_('Delete mapset'), _('Delete location')])
@@ -730,7 +730,9 @@
dlg.ShowModal()
dlg.Destroy()
return False
-
+
+ self.bstart.SetFocus()
+
return True
def OnStart(self, event):
More information about the grass-commit
mailing list