[empathy: 46/65] Push the details table to the dialog after verification
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 46/65] Push the details table to the dialog after verification
- Date: Tue, 24 Aug 2010 13:30:19 +0000 (UTC)
commit 53966af9c627e5217fb247b64ef62bf40541c5f8
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Aug 18 16:41:22 2010 +0200
Push the details table to the dialog after verification
src/empathy-auth-helper.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-auth-helper.c b/src/empathy-auth-helper.c
index b2ea4eb..9e3a75e 100644
--- a/src/empathy-auth-helper.c
+++ b/src/empathy-auth-helper.c
@@ -73,11 +73,12 @@ tls_dialog_response_cb (GtkDialog *dialog,
static void
display_interactive_dialog (EmpathyTLSCertificate *certificate,
- EmpTLSCertificateRejectReason reason)
+ EmpTLSCertificateRejectReason reason,
+ GHashTable *details)
{
GtkWidget *tls_dialog;
- tls_dialog = empathy_tls_dialog_new (certificate, reason);
+ tls_dialog = empathy_tls_dialog_new (certificate, reason, details);
g_signal_connect (tls_dialog, "response",
G_CALLBACK (tls_dialog_response_cb), NULL);
@@ -93,18 +94,19 @@ verifier_verify_cb (GObject *source,
EmpTLSCertificateRejectReason reason;
GError *error = NULL;
EmpathyTLSCertificate *certificate = NULL;
+ GHashTable *details = NULL;
g_object_get (source,
"certificate", &certificate,
NULL);
res = empathy_tls_verifier_verify_finish (EMPATHY_TLS_VERIFIER (source),
- result, &reason, &error);
+ result, &reason, &details, &error);
if (error != NULL)
{
DEBUG ("Error: %s", error->message);
- display_interactive_dialog (certificate, reason);
+ display_interactive_dialog (certificate, reason, details);
g_error_free (error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]