From 267c3ef6794bc396e5c7ccad83fe88d8e15e9daf Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Wed, 23 Oct 2013 14:53:55 +0000 Subject: 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 --- 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() -- cgit v0.9.1