diff options
author | Miguel Ruiz Diaz Genez <mgnezzeneo@gmail.com> | 2013-01-23 20:35:24 (GMT) |
---|---|---|
committer | Miguel Ruiz Diaz Genez <mgnezzeneo@gmail.com> | 2013-01-23 20:35:24 (GMT) |
commit | cf5cc8fe58de804a2654d0dc066369b41d4f2bc3 (patch) | |
tree | db963882023518ce2541bfcaec0ca043c7640937 | |
parent | 766f62ee648c0a6c9582cf2b3ab8d0e9de31add1 (diff) |
Expresar.py
-rw-r--r-- | SugarActivity/Expresar.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/SugarActivity/Expresar.py b/SugarActivity/Expresar.py index 290ee0d..1e489f3 100644 --- a/SugarActivity/Expresar.py +++ b/SugarActivity/Expresar.py @@ -5,6 +5,7 @@ import gtk import pygtk import gobject import logging +import parsear from gettext import gettext as _ @@ -61,7 +62,8 @@ class Expresar(activity.Activity): def create_interior(self, table): self.set_canvas(table) - uno = gtk.Button( "UNO") + lista = parsear.parsear() + uno = gtk.Button(lista[0][1]) dos = gtk.Button( "DOS") tres = gtk.Button( "TRES") cuatro = gtk.Button( "CUATRO") @@ -84,7 +86,7 @@ class Expresar(activity.Activity): c = gtk.Button("C") table.attach(c, 3, 4, 1, 2) c.show() - # show the table + #show the table table.show() def __timeout_cb(self, table): @@ -97,4 +99,4 @@ class Expresar(activity.Activity): button.grab_focus() return True - + |