diff options
author | Gary Martin <gary@garycmartin.com> | 2008-12-20 02:06:25 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2008-12-20 02:06:25 (GMT) |
commit | a4f7e374c4bcc32c106fe640937021c98c217445 (patch) | |
tree | 921a063a0b9cb224d3fb4a4d72dfda750ed7d663 /src/TextThought.py | |
parent | b7a8aacf356533618e26ae2fadf3041ec018f21c (diff) |
Use users XO colours for the primary thought.
Diffstat (limited to 'src/TextThought.py')
-rw-r--r-- | src/TextThought.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/TextThought.py b/src/TextThought.py index de7817b..6d363f2 100644 --- a/src/TextThought.py +++ b/src/TextThought.py @@ -336,7 +336,9 @@ class TextThought (BaseThought.BaseThought): context.stroke () (textx, texty) = (self.text_location[0], self.text_location[1]) - if (self.foreground_color): + if self.am_primary: + r, g, b = utils.primary_colors["text"] + elif (self.foreground_color): r, g, b = utils.gtk_to_cairo_color(self.foreground_color) else: r, g ,b = utils.gtk_to_cairo_color(utils.default_colors["text"]) |