diff options
author | Cristian Garcia <cristian99garcia@gmail.com> | 2013-06-10 22:44:16 (GMT) |
---|---|---|
committer | Cristian Garcia <cristian99garcia@gmail.com> | 2013-06-10 22:44:16 (GMT) |
commit | 414489ed120dabdfff88ee0c77e228fdd5f3909d (patch) | |
tree | b37071d9e5d9db427daf66c715bbd19bc0b0594a /CristianEdit | |
parent | 54eb8bb91bc7a22de1929a1e0b5a2a30abb8a076 (diff) |
Agregando para poder 'cancelar' el cerrado de la aplicacion ;)
Diffstat (limited to 'CristianEdit')
-rw-r--r-- | CristianEdit/objetos.py | 5 | ||||
-rw-r--r-- | CristianEdit/objetos.pyc | bin | 41989 -> 42019 bytes |
2 files changed, 4 insertions, 1 deletions
diff --git a/CristianEdit/objetos.py b/CristianEdit/objetos.py index 61a0c3a..a2f560b 100644 --- a/CristianEdit/objetos.py +++ b/CristianEdit/objetos.py @@ -742,7 +742,10 @@ class DialogoCerrar(Gtk.Dialog): def add_label(self, string): """Crea un label con el texto y se le agrega""" - self.vbox.add(Gtk.Label(string)) + label = Gtk.Label(string) + + self.vbox.add(label) + label.show() class DialogoEstado(Gtk.Dialog): diff --git a/CristianEdit/objetos.pyc b/CristianEdit/objetos.pyc Binary files differindex 05751fd..ea19bdd 100644 --- a/CristianEdit/objetos.pyc +++ b/CristianEdit/objetos.pyc |