Esempio n. 1
0
 def show_seed(self, seed, sid):
     vbox = seed_dialog.show_seed_box_msg(seed, sid)
     vbox.addLayout(Buttons(CancelButton(self), OkButton(self, _("Next"))))
     self.set_layout(vbox)
     return self.exec_()
Esempio n. 2
0
 def show_seed(self, seed, sid):
     vbox = seed_dialog.show_seed_box_msg(seed, sid)
     vbox.addLayout(Buttons(CancelButton(self), OkButton(self, _("Next"))))
     self.set_layout(vbox)
     return self.exec_()
Esempio n. 3
0
 def show_seed(self, seed):
     vbox = seed_dialog.show_seed_box_msg(seed, None)
     vbox.addLayout(Buttons(CancelButton(self), OkButton(self, _("Next"))))
     self.set_layout(vbox)
     if not self.exec_():
         raise UserCancelled