diff --git a/src/dialogs.py b/src/dialogs.py
index e81b8b8967f1b7fe0706a4af44cef5f3bb3087ec..5e348eeff910a52ac8330fbb8ca2a373ac6cc2a5 100644
--- a/src/dialogs.py
+++ b/src/dialogs.py
@@ -5239,8 +5239,8 @@ class SSLErrorDialog(ConfirmationDialogDoubleCheck):
         self.account = account
         self.cert = certificate
         ConfirmationDialogDoubleCheck.__init__(self, pritext, sectext,
-            checktext1, checktext2, on_response_ok, on_response_cancel,
-            is_modal=False)
+            checktext1, checktext2, on_response_ok=on_response_ok,
+            on_response_cancel=on_response_cancel, is_modal=False)
         b = gtk.Button(_('View cert...'))
         b.connect('clicked', self.on_cert_clicked)
         b.show_all()