[GRASS-SVN] r31199 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 1 12:52:40 EDT 2008
Author: martinl
Date: 2008-05-01 12:52:40 -0400 (Thu, 01 May 2008)
New Revision: 31199
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: use less cryptic dialog caption if workspace file exits (sync'ed with develbr6)
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2008-05-01 16:51:53 UTC (rev 31198)
+++ grass/trunk/gui/wxpython/wxgui.py 2008-05-01 16:52:40 UTC (rev 31199)
@@ -765,7 +765,7 @@
if os.path.exists(filename):
dlg = wx.MessageDialog(self, message=_("Workspace file <%s> already exists. "
"Do you want to overwrite this file?") % filename,
- caption=_("Warning"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
+ caption=_("Save workspace"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
if dlg.ShowModal() != wx.ID_YES:
dlg.Destroy()
return False
@@ -783,7 +783,7 @@
dlg = wx.MessageDialog(self, message=_("Workspace file <%s> already exists. "
"Do you want to overwrite this file?") % \
self.workspaceFile,
- caption=_("Warning"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
+ caption=_("Save workspace"), style=wx.YES_NO | wx.YES_DEFAULT | wx.ICON_QUESTION)
if dlg.ShowModal() == wx.ID_NO:
dlg.Destroy()
else:
More information about the grass-commit
mailing list