Spaces between content buttons in GTK3 (#1761).
[dcpomatic.git] / src / wx / christie_certificate_panel.cc
index 0795b09e9855c89300516f62fb29cf0713565477..2a42a178e77b652d65f95b968f164eafa58fe3f1 100644 (file)
@@ -60,13 +60,13 @@ ChristieCertificatePanel::do_download ()
 
        optional<string> all_errors;
 
-       optional<string> error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load, this, _1));
+       optional<string> error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1));
        if (error) {
                all_errors = *error;
 
                string const url = String::compose ("%1IMB-S2/IMB-S2_%2_sha256.pem", prefix, serial);
 
-               error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load, this, _1));
+               error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1));
                if (error) {
                        *all_errors += "\n" + *error;
                }
@@ -76,7 +76,7 @@ ChristieCertificatePanel::do_download ()
                _dialog->message()->SetLabel(wxT(""));
                error_dialog (this, std_to_wx(*all_errors));
        } else {
-               _dialog->message()->SetLabel (_("Certificate dowloaded"));
+               _dialog->message()->SetLabel (_("Certificate downloaded"));
                _dialog->setup_sensitivity ();
        }
 }