Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/calendario.py
diff options
context:
space:
mode:
authorYader Velásquez <yajosev@gmail.com>2010-08-30 00:04:33 (GMT)
committer Yader Velásquez <yajosev@gmail.com>2010-08-30 00:04:33 (GMT)
commit1d835b53452a276a396ebec1fdf51548c29eca72 (patch)
tree9d2cbee371bbdc1ec0fdc95507275910c4e26b72 /calendario.py
parent6dea3661a0020ba659b7cb54034effe66e6b671f (diff)
guarda lo que se introduce en el input
Diffstat (limited to 'calendario.py')
-rw-r--r--calendario.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendario.py b/calendario.py
index 1909f98..6a38cf6 100644
--- a/calendario.py
+++ b/calendario.py
@@ -142,7 +142,9 @@ class Calendario:
'''when the user clicked on the save button'''
self.lista_fecha = self.calendario.get_date()
self.indice_dia = FechaUnix(self.lista_fecha)
- self.cadena = 'blablabla'
+ self.buffer = self.entrada.get_buffer()
+ self.inicio, self.final = self.buffer.get_bounds()
+ self.cadena = self.buffer.get_text(self.inicio, self.final, False)
guardar_dato(self.indice_dia.fecha_unix(),self.cadena)
#def _limpiar_boton_cb(self, widget, data=None):