Fix the keep button in the title activity

This commit is contained in:
Tomeu Vizoso 2009-01-16 14:59:12 +01:00
parent bbe3701bbb
commit 64d24f3ac5

View File

@ -394,7 +394,7 @@ class TitleAlert(gtk.Window):
button = gtk.Button(_('Keep')) button = gtk.Button(_('Keep'))
vbox.pack_start(button) vbox.pack_start(button)
button.show() button.show()
button.connect('activate', self.__activate_cb) button.connect('clicked', self.__activate_cb)
def __realize_cb(self, widget): def __realize_cb(self, widget):
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG) self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)