[GRASS-SVN] r56353 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 21 08:42:04 PDT 2013
Author: annakrat
Date: 2013-05-21 08:42:02 -0700 (Tue, 21 May 2013)
New Revision: 56353
Modified:
grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI/startup: assure user that location was created
Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py 2013-05-21 15:36:09 UTC (rev 56352)
+++ grass/trunk/gui/wxpython/gis_set.py 2013-05-21 15:42:02 UTC (rev 56353)
@@ -444,10 +444,13 @@
def SetDefaultRegion(self, location):
"""!Asks to set default region."""
+ caption = _("Location <%s> created") % location
+ message = _("Do you want to set the default "
+ "region extents and resolution now?")
dlg = wx.MessageDialog(parent = self,
- message = _("Do you want to set the default "
- "region extents and resolution now?"),
- caption = _("Location <%s> created") % location,
+ message = "%(caption)s.\n\n%(extent)s" % ({'caption': caption,
+ 'extent': message}),
+ caption = caption,
style = wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION)
dlg.CenterOnScreen()
if dlg.ShowModal() == wx.ID_YES:
More information about the grass-commit
mailing list