Fixed bug which prevented correct shutdown of the pinpad dialog when the correct PIN was entered
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@203 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -112,7 +112,7 @@ class MokoWindow(gtk.Window):
|
||||
raise ValueError("Button does not have a label")
|
||||
lbl.modify_font(pango.FontDescription("sans 12"))
|
||||
hbox.pack_start(btnBack, True, True)
|
||||
|
||||
|
||||
btnForward = gtk.Button("Weiter")
|
||||
btnForward.set_size_request(150, 75)
|
||||
btnForward.connect("clicked", self.btnForward_clicked, None)
|
||||
@@ -439,7 +439,8 @@ class PinpadGTK:
|
||||
gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_INFO,
|
||||
gtk.BUTTONS_OK, "PIN wurde korrekt eingegeben")
|
||||
res = popup.run()
|
||||
gtk.main_quit()
|
||||
popup.destroy()
|
||||
self.shutdown() #FIXME
|
||||
else:
|
||||
lbl = self.builder.get_object("txtOutput")
|
||||
popup = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL |
|
||||
|
||||
Reference in New Issue
Block a user