Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/TextThought.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-11-27 15:33:02 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-11-27 15:33:02 (GMT)
commit203980f986bad46101dc1933e3f38fef233326a1 (patch)
tree75c82dcab0e43e0cd704489fab933bad67745cae /src/TextThought.py
parent0b9da7db7e9d0e4bb3733d363e9d87fd63aa4d1c (diff)
Drop one dependency on pygtk > 2.10
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 8f1c70a..de7817b 100644
--- a/src/TextThought.py
+++ b/src/TextThought.py
@@ -834,8 +834,8 @@ class TextThought (BaseThought.BaseThought):
self.element.setAttribute ("ul-coords", str(self.ul))
self.element.setAttribute ("lr-coords", str(self.lr))
self.element.setAttribute ("identity", str(self.identity))
- self.element.setAttribute ("background-color", self.background_color.to_string())
- self.element.setAttribute ("foreground-color", self.foreground_color.to_string())
+ self.element.setAttribute ("background-color", utils.color_to_string(self.background_color))
+ self.element.setAttribute ("foreground-color", utils.color_to_string(self.foreground_color))
if self.editing:
self.element.setAttribute ("edit", "true")
else: