Переглянути джерело

wxGUI/menuform: colorize "run" button
(merge https://trac.osgeo.org/grass/changeset/49013 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49015 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 13 роки тому
батько
коміт
6fdf644f83
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      gui/wxpython/gui_modules/menuform.py

+ 3 - 1
gui/wxpython/gui_modules/menuform.py

@@ -502,8 +502,10 @@ class mainFrame(wx.Frame):
             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,