[GRASS-SVN] r31198 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 1 12:51:53 EDT 2008
Author: martinl
Date: 2008-05-01 12:51:53 -0400 (Thu, 01 May 2008)
New Revision: 31198
Modified:
grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: use less cryptic dialog caption if workspace file exits
Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py 2008-05-01 16:29:26 UTC (rev 31197)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py 2008-05-01 16:51:53 UTC (rev 31198)
@@ -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