@hook
def transaction_dialog(self, d):
    d.cosigner_send_button = b = QPushButton(_('Send to cosigner'))
    b.clicked.connect((lambda : self.do_send(d.tx)))
    d.buttons.insert(0, b)
    self.transaction_dialog_update(d)
@hook
def transaction_dialog(self, d):
    d.cosigner_send_button = b = QPushButton(_('Send to cosigner'))
    b.clicked.connect((lambda : self.do_send(d.tx)))
    d.buttons.insert(0, b)
    self.transaction_dialog_update(d)