[gcompris] Fixed login by text entry.



commit 3d5e7a76d5175aac3a048ab03d8d06393bfb4b5d
Author: Bruno Coudoin <bruno coudoin gcompris net>
Date:   Fri Jan 17 23:08:26 2014 +0100

    Fixed login by text entry.

 src/login-activity/login.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/login-activity/login.py b/src/login-activity/login.py
index 5a318e4..7c5c7f0 100644
--- a/src/login-activity/login.py
+++ b/src/login-activity/login.py
@@ -410,7 +410,7 @@ class Gcompris_login:
   def entry_text(self):
     self.entry = gtk.Entry()
 
-    self.entry.modify_font(gcompris.skin.get_font("gcompris/board/huge bold"))
+    self.entry.modify_font(pango.FontDescription(gcompris.skin.get_font("gcompris/board/huge bold")))
     text_color = gtk.gdk.color_parse("black")
     text_color_selected = gtk.gdk.color_parse("black")
     bg_color = gtk.gdk.color_parse("white")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]