From 4abed2292a3e45072da19c81b6c53fab926660c7 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 24 Mar 2004 22:27:01 +0000 Subject: add BOOL:POINTER,POINTER,POINTER,POINTER for confirm_ca_cert_import. 2004-03-24 Chris Toshok * lib/smime-marshal.list: add BOOL:POINTER,POINTER,POINTER,POINTER for confirm_ca_cert_import. * lib/e-cert-db.c (e_cert_db_class_init): initialize the confirm_ca_cert_import signal. (confirm_download_ca_cert): emit confirm_ca_cert_import and use the returned values. (handle_ca_cert_download): fix the ca trust foo. (e_cert_db_import_certs): pass the cerdb to handle_ca_cert_download since we need to emit something on that object. * lib/e-cert-db.h (struct _ECertDBClass): add confirm_ca_cert_import signal. * gui/smime-ui.glade: give names to the check buttons in the ca trust dialog. * gui/component.c (smime_confirm_ca_cert_import): new function, show the trust dialog. (smime_component_init): connect to "confirm_ca_cert_import" signal. * gui/certificate-viewer.c (fill_in_general): fix lots of uninitialized variable accesses. (certificate_viewer_show): don't show the dialog (or connect to the response signal.) that's the caller's job. * gui/certificate-manager.c (view_your): do the showing of the certificate_viewer here. (view_contact): same. (view_ca): same. (edit_ca): new function, pop up the ca trust dialog. we need more here though, to fill in the toggle buttons when bringing up the dialog, and also to save out the settings when the user clicks ok. (initialize_authoritycerts_ui): hook up the edit_ca button. * gui/Makefile.am (libevolution_smime_la_SOURCES): add ca-trust-dialog.[ch]. * gui/ca-trust-dialog.[ch]: new file implementing the ca trust dialog used for importing/editing ca trust levels. svn path=/trunk/; revision=25177 --- smime/gui/smime-ui.glade | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'smime/gui/smime-ui.glade') diff --git a/smime/gui/smime-ui.glade b/smime/gui/smime-ui.glade index 3b80c00baa..5682522b8d 100644 --- a/smime/gui/smime-ui.glade +++ b/smime/gui/smime-ui.glade @@ -2,6 +2,7 @@ + dialog1 @@ -1861,7 +1862,7 @@ 0 - + True True Trust this CA to identify web sites. @@ -1879,7 +1880,7 @@ - + True True Trust this CA to identify email users. @@ -1897,7 +1898,7 @@ - + True True Trust this CA to identify software developers. @@ -1951,7 +1952,7 @@ 1 - + True True View Certificate -- cgit