[GRASS-SVN] r49015 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 30 17:28:35 EDT 2011


Author: martinl
Date: 2011-10-30 14:28:35 -0700 (Sun, 30 Oct 2011)
New Revision: 49015

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI/menuform: colorize "run" button
		(merge r49013 from devbr6)


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2011-10-30 21:26:09 UTC (rev 49014)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2011-10-30 21:28:35 UTC (rev 49015)
@@ -502,8 +502,10 @@
             self.btn_run = wx.Button(parent = self.panel, id = wx.ID_OK, label =  _("&Run"))
             self.btn_run.SetToolTipString(_("Run the command (Ctrl+R)"))
             self.btn_run.SetDefault()
+            self.btn_run.SetForegroundColour(wx.Colour(35, 142, 35))
+            
             # copy
-            self.btn_clipboard = wx.Button(parent = self.panel, id = wx.ID_COPY, label = _("C&opy"))
+            self.btn_clipboard = wx.Button(parent = self.panel, id = wx.ID_COPY)
             self.btn_clipboard.SetToolTipString(_("Copy the current command string to the clipboard (Ctrl+C)"))
             
             btnsizer.Add(item = self.btn_run, proportion = 0,



More information about the grass-commit mailing list