Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-10-23 14:53:55 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-10-23 14:57:54 (GMT)
commit6aa1c0a99e8794e3d773094b356bc4df153e13be (patch)
treecba1ae3b131537fbd9562762b6583f236293860b
parent63868fd380fee69c367418b6751d4c50da1c3cc6 (diff)
Get the right text color at start
Since the change in the way we draw the text, color initialization was wrong. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r--globos.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/globos.py b/globos.py
index 5cc5950..f4c870f 100644
--- a/globos.py
+++ b/globos.py
@@ -963,9 +963,8 @@ class CuadroTexto:
if fd != self.font_description:
self.set_font_description(fd, False)
- if self._in_edition:
- self.textview.modify_fg(Gtk.StateType.NORMAL,
- Gdk.Color(*self.color))
+ self.textview.modify_fg(Gtk.StateType.NORMAL,
+ Gdk.Color(*self.color))
def _parse_font_description(self):
fd = self.font_description.split()