Skip to content

Commit

Permalink
Remove colouring of standard buttons (#744)
Browse files Browse the repository at this point in the history
Fixes #743
  • Loading branch information
nilason committed Jul 25, 2020
1 parent 61e3e5f commit ec56b0a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion gui/wxpython/gis_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ def _set_properties(self, version, revision):
self.SetIcon(wx.Icon(os.path.join(globalvar.ICONDIR, "grass.ico"),
wx.BITMAP_TYPE_ICO))

self.bstart.SetForegroundColour(wx.Colour(35, 142, 35))
self.bstart.SetToolTip(_("Enter GRASS session"))
self.bstart.Enable(False)
self.bmapset.Enable(False)
Expand Down
1 change: 0 additions & 1 deletion gui/wxpython/gui_core/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,6 @@ def __init__(self, parent, title=_("Quit GRASS GIS"), id=wx.ID_ANY,
self.btnClose.SetFocus()
self.btnQuit = Button(parent=self.panel, id=wx.ID_YES,
label=_("Quit GRASS GIS"))
self.btnQuit.SetForegroundColour(wx.Colour(35, 142, 35))

self.btnClose.Bind(wx.EVT_BUTTON, self.OnClose)
self.btnQuit.Bind(wx.EVT_BUTTON, self.OnQuit)
Expand Down
1 change: 0 additions & 1 deletion gui/wxpython/gui_core/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,6 @@ def __init__(self, parent, giface, task_description, id=wx.ID_ANY,
parent=self.panel, id=wx.ID_OK, label=_("&Run"))
self.btn_run.SetToolTip(_("Run the command (Ctrl+R)"))
self.btn_run.SetDefault()
self.btn_run.SetForegroundColour(wx.Colour(35, 142, 35))

btnsizer.Add(self.btn_run, proportion=0,
flag=wx.ALL | wx.ALIGN_CENTER,
Expand Down
1 change: 0 additions & 1 deletion gui/wxpython/image2target/ii2t_gis_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ def _set_properties(self, version, revision):
self.SetIcon(wx.Icon(os.path.join(globalvar.ICONDIR, "grass.ico"),
wx.BITMAP_TYPE_ICO))

self.bstart.SetForegroundColour(wx.Colour(35, 142, 35))
self.bstart.SetToolTip(_("Enter GRASS session"))
self.bstart.Enable(False)
self.bmapset.Enable(False)
Expand Down
1 change: 0 additions & 1 deletion gui/wxpython/modules/mcalc_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def __init__(self, parent, giface, cmd, id=wx.ID_ANY,
parent=self.panel,
id=wx.ID_ANY,
label=_("&Run"))
self.btn_run.SetForegroundColour(wx.Colour(35, 142, 35))
self.btn_run.SetDefault()
self.btn_close = Button(parent=self.panel, id=wx.ID_CLOSE)
self.btn_save = Button(parent=self.panel, id=wx.ID_SAVE)
Expand Down

0 comments on commit ec56b0a

Please sign in to comment.