Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/EjercitarClient/gui/Temas.py
diff options
context:
space:
mode:
Diffstat (limited to 'EjercitarClient/gui/Temas.py')
-rw-r--r--EjercitarClient/gui/Temas.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/EjercitarClient/gui/Temas.py b/EjercitarClient/gui/Temas.py
index 7511a51..3a0b3cc 100644
--- a/EjercitarClient/gui/Temas.py
+++ b/EjercitarClient/gui/Temas.py
@@ -16,12 +16,15 @@ class Temas(gtk.VBox):
WSDL_URL = 'http://localhost:8080/EjercitarServer/EjercitarWSBean?wsdl'
- def __init__(self, ventana_padre, id_alumno):
+ def __init__(self, ventana_padre, id_alumno, ayuda_padres, desde_hogar, estado_animo):
# create a new window
+
super(Temas, self).__init__()
self.ventana_padre = ventana_padre
self.id_alumno = id_alumno
-
+ self.ayuda_padres = ayuda_padres
+ self.desde_hogar = desde_hogar
+ self.estado_animo = estado_animo
self.__inicializar_componentes()
self.cliente_WS = self.__sincronizar_temas()
self.__organizar_gui(self.cliente_WS)
@@ -46,7 +49,7 @@ class Temas(gtk.VBox):
lista_tareas = cliente_WS.service.getTareas(self.id_alumno)
for tarea in lista_tareas:
- nueva_tarea = ContenedorTareas(self.id_alumno, tarea.idTarea, tarea.descripcion, self.ventana_padre, self, self.cliente_WS)
+ nueva_tarea = ContenedorTareas(self.id_alumno, tarea.idTarea, tarea.descripcion, self.ventana_padre, self, self.cliente_WS, self.ayuda_padres, self.desde_hogar, self.estado_animo)
contenedor_lista.add(nueva_tarea)