[GRASS-SVN] r56182 - grass/branches/releasebranch_6_4/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 10 02:47:14 PDT 2013
Author: annakrat
Date: 2013-05-10 02:47:13 -0700 (Fri, 10 May 2013)
New Revision: 56182
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: fix #1968
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py 2013-05-09 19:10:54 UTC (rev 56181)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_core/goutput.py 2013-05-10 09:47:13 UTC (rev 56182)
@@ -676,7 +676,11 @@
GError(_("Unable to write file '%(path)s'.\n\nDetails: %(error)s") % {'path': path, 'error': e})
finally:
output.close()
- self.parent.SetStatusText(_("Command output saved into '%s'") % path)
+ message = _("Command output saved into '%s'") % path
+ if hasattr(self.parent, 'SetStatusText'):
+ self.parent.SetStatusText(message)
+ else:
+ self.parent.parent.SetStatusText(message)
dlg.Destroy()
More information about the grass-commit
mailing list