diff options
author | Gary Martin <gary@garycmartin.com> | 2008-12-19 12:32:00 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2008-12-19 12:32:00 (GMT) |
commit | b7a8aacf356533618e26ae2fadf3041ec018f21c (patch) | |
tree | 67e3f32dd462bd8ed5062766ac8d5dc946683cd5 /src | |
parent | 1ed4bc58ef341f5837b248b876bbe2493bd1f0b5 (diff) |
Make default thought colour white so that gtk selection state is visible.
Diffstat (limited to 'src')
-rw-r--r-- | src/MMapArea.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MMapArea.py b/src/MMapArea.py index 1a3c453..8a23671 100644 --- a/src/MMapArea.py +++ b/src/MMapArea.py @@ -181,7 +181,8 @@ class MMapArea (gtk.DrawingArea): utils.default_colors["text"] = utils.gtk_to_cairo_color(style.text[gtk.STATE_NORMAL]) utils.default_colors["base"] = utils.gtk_to_cairo_color(style.base[gtk.STATE_NORMAL]) - self.background_color = style.base[gtk.STATE_NORMAL] + # Match the fixed white canvas colour (makes thought focus visible) + self.background_color = style.white self.foreground_color = style.text[gtk.STATE_NORMAL] utils.default_colors["bg"] = utils.gtk_to_cairo_color(style.bg[gtk.STATE_NORMAL]) utils.default_colors["fg"] = utils.gtk_to_cairo_color(style.fg[gtk.STATE_NORMAL]) |