Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/TextThought.py
diff options
context:
space:
mode:
authormatthias.vogelgesang <matthias.vogelgesang@8f060a39-251c-0410-b1f3-431655927647>2008-04-04 14:14:11 (GMT)
committer matthias.vogelgesang <matthias.vogelgesang@8f060a39-251c-0410-b1f3-431655927647>2008-04-04 14:14:11 (GMT)
commit3a7807f0eeb078a52ef5723bea9c35dde36b564c (patch)
tree6aa0c1b94bd10f0522ec1dac54d0b1fb5d93b841 /src/TextThought.py
parent7a792d15405b2df551d0b8e016c5e94fde514cb0 (diff)
* src/utils.py
* src/MMapArea.py * src/TextThought.py Use Gtk theme colors and select according to GNOME's HIG. git-svn-id: http://labyrinth.googlecode.com/svn/trunk@294 8f060a39-251c-0410-b1f3-431655927647
Diffstat (limited to 'src/TextThought.py')
-rw-r--r--src/TextThought.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextThought.py b/src/TextThought.py
index 376a5d1..ab13f70 100644
--- a/src/TextThought.py
+++ b/src/TextThought.py
@@ -327,8 +327,8 @@ class TextThought (BaseThought.BaseThought):
context.stroke ()
(textx, texty) = (self.text_location[0], self.text_location[1])
- r,g,b = utils.gtk_to_cairo_color(self.foreground_color)
- context.set_source_rgb (r, g, b)
+ fg = utils.default_colors["text"]
+ context.set_source_rgb (fg[0], fg[1], fg[2])
context.move_to (textx, texty)
context.show_layout (self.layout)
if self.editing: