[GRASS-SVN] r37104 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 10 10:56:03 EDT 2009
Author: martinl
Date: 2009-05-10 10:56:03 -0400 (Sun, 10 May 2009)
New Revision: 37104
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py
Log:
wxGUI: error icon for messages
(merge trunk, r37102)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2009-05-10 14:53:41 UTC (rev 37103)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2009-05-10 14:56:03 UTC (rev 37104)
@@ -306,7 +306,8 @@
self.toolbars['map'].combo.SetValue (_("2D view"))
wx.MessageBox(parent=self,
message=msg,
- caption=_("Error"))
+ caption=_("Error"),
+ style=wx.OK | wx.ICON_ERROR | wx.CENTRE)
return
if self._layerManager:
@@ -363,7 +364,8 @@
self.toolbars['map'].combo.SetValue (_("2D view"))
wx.MessageBox(parent=self,
message=msg,
- caption=_("Error"))
+ caption=_("Error"),
+ style=wx.OK | wx.ICON_ERROR | wx.CENTRE)
return
#
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py 2009-05-10 14:53:41 UTC (rev 37103)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py 2009-05-10 14:56:03 UTC (rev 37104)
@@ -508,7 +508,8 @@
self.mapdisplay.toolbars['map'].combo.SetValue (_("2D view"))
wx.MessageBox(parent=self.mapdisplay,
message=msg,
- caption=_("Error"))
+ caption=_("Error"),
+ style=wx.OK | wx.ICON_ERROR | wx.CENTRE)
return
try:
More information about the grass-commit
mailing list