[GRASS-SVN] r56184 - grass/branches/develbranch_6/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 10 02:50:16 PDT 2013
Author: annakrat
Date: 2013-05-10 02:50:16 -0700 (Fri, 10 May 2013)
New Revision: 56184
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: fix #1968
Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py 2013-05-10 09:48:35 UTC (rev 56183)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py 2013-05-10 09:50:16 UTC (rev 56184)
@@ -673,7 +673,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