Commit d890ad76 authored by Stepan Salenikovich's avatar Stepan Salenikovich

gnome: fix certificate selection

Refs #73028

Change-Id: I4232d5fd24eebb1ba65a9e9c35d323ec0100cd6d
parent 6a478f28
...@@ -417,7 +417,7 @@ build_tab_view(AccountSecurityTab *self) ...@@ -417,7 +417,7 @@ build_tab_view(AccountSecurityTab *self)
gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(priv->filechooserbutton_certificate), gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(priv->filechooserbutton_certificate),
user_cert->path().toDisplayString().toUtf8().constData()); user_cert->path().toDisplayString().toUtf8().constData());
} }
g_signal_connect(priv->filechooserbutton_ca_list, "file-set", G_CALLBACK(user_cert_file_set), self); g_signal_connect(priv->filechooserbutton_certificate, "file-set", G_CALLBACK(user_cert_file_set), self);
/* private key */ /* private key */
Certificate *private_key = priv->account->tlsPrivateKeyCertificate(); Certificate *private_key = priv->account->tlsPrivateKeyCertificate();
...@@ -425,7 +425,7 @@ build_tab_view(AccountSecurityTab *self) ...@@ -425,7 +425,7 @@ build_tab_view(AccountSecurityTab *self)
gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(priv->filechooserbutton_private_key), gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(priv->filechooserbutton_private_key),
private_key->path().toDisplayString().toUtf8().constData()); private_key->path().toDisplayString().toUtf8().constData());
} }
g_signal_connect(priv->filechooserbutton_ca_list, "file-set", G_CALLBACK(private_key_file_set), self); g_signal_connect(priv->filechooserbutton_private_key, "file-set", G_CALLBACK(private_key_file_set), self);
/* password */ /* password */
if (private_key && private_key->requirePrivateKeyPassword()) { if (private_key && private_key->requirePrivateKeyPassword()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment