qrexec-policy: fix confirmation dialog call

pull/26/head
Marek Marczykowski-Górecki 8 years ago
parent cce22c9517
commit a72d53ae1b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -32,7 +32,7 @@ def prepare_app():
def ask(text, title="Question", yestoall=False):
prepare_app()
qtapp = prepare_app()
buttons = QMessageBox.Yes | QMessageBox.No
if yestoall:
@ -176,7 +176,7 @@ def confirm_execution(domain, target, service_name):
text += " operation on the domain \"" + target + "\"?<br>"
text += " \"Yes to All\" option will automatically allow this " \
"operation in the future."
return qubes.guihelpers.ask(text, yestoall=True)
return ask(text, yestoall=True)
def add_always_allow(domain, target, service_name, options):

Loading…
Cancel
Save