diff options
author | Yader 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) |
commit | 1d835b53452a276a396ebec1fdf51548c29eca72 (patch) | |
tree | 9d2cbee371bbdc1ec0fdc95507275910c4e26b72 /calendario.py | |
parent | 6dea3661a0020ba659b7cb54034effe66e6b671f (diff) |
guarda lo que se introduce en el input
Diffstat (limited to 'calendario.py')
-rw-r--r-- | calendario.py | 4 |
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): |