diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-10-23 14:53:55 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-10-23 14:53:55 (GMT) |
commit | 267c3ef6794bc396e5c7ccad83fe88d8e15e9daf (patch) | |
tree | 290bb7903cd8a1d4fe83394c5cecd2b85c113b3c | |
parent | 069cd6acecefc30656e9cd73fa15bc976b1c9be4 (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.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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() |