2008-06-06 Matthew Barnes <mbarnes@redhat.com>
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
GTK_DISABLE_SINGLE_INCLUDES defined. (#536637)
svn path=/trunk/; revision=35606
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
* lib/e-pkcs12.c (prompt_for_password):
* gui/component.c (smime_pk11_passwd), (smime_pk11_change_passwd):
Do not pass NULL for the domain parameter of
e_passwords_ask_password.
svn path=/trunk/; revision=32451
2006-01-02 Harish Krishnaswamy <kharish@novell.com>
* gui/certificate-manager.c: (initialize_yourcerts_ui):
Do not set the sort column before the model is initialized.
This is done later by the function unload_certs.
Fixes#325472 (critical warning crasher).
svn path=/trunk/; revision=31015
2005-07-20 Tor Lillqvist <tml@novell.com>
* gui/Makefile.am: Use privsolib so the DLL gets installed in
bindir on Win32. (See ChangeLog entry in .. from 2005-06-18.) Link
with libeshell. Use NO_UNDEFINED.
svn path=/trunk/; revision=29811
2005-02-21 Not Zed <NotZed@Ximian.com>
** See bug #68592
* gui/certificate-manager.c (yourcerts_selection_changed): dont
pass backup to handle_selection_changed.
(certificate_manager_config_control_new): disable the backup
buttons always.
svn path=/trunk/; revision=28875
2005-02-04 Rodney Dawes <dobey@novell.com>
* gui/ca-trust-dialog.c (ca_trust_dialog_new): Set the border widths
for the dialog internal container widgets to be HIG compliant
* gui/smime-ui.glade: Set the vbox spacing to 12 for HIG compliance
svn path=/trunk/; revision=28712
2004-11-23 Not Zed <NotZed@Ximian.com>
* gui/certificate-manager.c (delete_ca): don't remove the tree
node if deleting the cert failed.
(delete_your): same.
(delete_contact): same. Hoorah for code-reuse.
svn path=/trunk/; revision=28456
2004-10-11 Not Zed <NotZed@Ximian.com>
* gui/e-cert-selector.c (e_cert_selector_new): dont try to
deference NULL nickname or emailAddr on the cert.
svn path=/trunk/; revision=27542
2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
* gui/certificate-manager.c: Optionally use GtkFileChooser if
compiled against Gtk+ >= 2.4.0
svn path=/trunk/; revision=26895
2004-05-28 Not Zed <NotZed@Ximian.com>
** See bugs #52061 & #52669.
* gui/smime-ui.glade: added cert-trust-dialog and tweaked the
ca-trust-dialog.
* gui/ca-trust-dialog.c (ca_trust_dialog_show): Fix the %s in the
label. Slack.
(ca_trust_dialog_show): slight rearrangement.
* gui/certificate-manager.c (add_contact_cert): fill out fields.
* lib/e-cert.c (e_cert_get_usage): helper to get the usage of a
cert.
* gui/certificate-manager.c (edit_ca): use the right certdb, not
the e-one.
(add_user_cert): fill out missing columns.
* lib/e-cert.c (e_cert_get_ca_cert): new method to find the ca
cert of a cert.
* gui/cert-trust-dialog.[ch]: peer cert trust editor.
* gui/certificate-manager.c (edit_contact): implement.
svn path=/trunk/; revision=26119
2004-05-17 Jon Oberheide <jon@focalhost.com>
* gui/e-cert-selector.c (e_cert_selector_new): add "Select
certificate" title to the previously untitled dialog.
svn path=/trunk/; revision=26026
2004-04-30 Chris Toshok <toshok@ximian.com>
[ fixes bug #52724 ]
* gui/ca-trust-dialog.c (ca_trust_dialog_set_trust): new function,
set the toggle buttons' states.
* gui/ca-trust-dialog.h (ca_trust_dialog_set_trust): add
prototype.
* gui/certificate-manager.c (edit_ca): flesh out the rest of the
editing here. set the existing trust levels and get them back
from the dialog when OK is clicked (and store them to the cert
db.)
svn path=/trunk/; revision=25726
2004-03-24 Chris Toshok <toshok@ximian.com>
* 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
2004-03-19 Chris Toshok <toshok@ximian.com>
[ fixes bug #52667 ]
* gui/certificate-manager.c (import_ca): don't expand the CA tree
by default.
(populate_ui): same.
svn path=/trunk/; revision=25133
2004-03-19 Chris Toshok <toshok@ximian.com>
[ fixes bug #52829 ]
* lib/smime-marshal.list: add BOOL:POINTER,POINTER for
pk11_change_passwd.
* lib/e-cert-db.c (e_cert_db_class_init): initialize the
pk11_change_passwd signal.
(e_cert_db_login_to_slot): emit "pk11_change_passwd" with
old_passwd == NULL to initialize the database.
* lib/e-cert-db.h: add pk11_change_passwd signal slot.
* gui/component.c (smime_pk11_change_passwd): implement the
portion of this that gets called with old_passwd == NULL (the only
part that needs implementing yet, since we don't have a UI for
changing the password.)
(smime_component_init): hook up to the pk11_change_passwd signal
on ECertDB.
svn path=/trunk/; revision=25131
2004-03-10 Rodney Dawes <dobey@ximian.com>
* gui/certificate-viewer.c (certificate_viewer_show): Fix the border
width setting for the button area, to be HIG-compliant
* gui/smime-ui.glade: Update some border widths for the cert viweer
Remove dialog separators (This portion from William Jon McCann)
svn path=/trunk/; revision=25016
2004-01-05 Chris Toshok <toshok@ximian.com>
* gui/component.c (smime_pk11_passwd): new function, implement the
password dialog for PK11 slot authentication.
(smime_component_init): new function, initialize any gui related
signals that the backend exposes.
* gui/certificate-manager.c (import_your): use
e_cert_db_import_pkcs12_file.
(delete_your): new function, implement.
(view_your): same.
(backup_your): new function, stub out.
(backup_all_your): same.
(create_yourcerts_treemodel): new function.
(initialize_yourcerts_ui): do all the sorting foo, and hook up all
the signals.
(ainitialize_contactcerts_ui): same.
(initialize_authoritycerts_ui): same.
(view_contact): treemodel -> streemodel.
(view_ca): same.
(delete_contact): same, and convert from the sort iter to the
child iter before we remove.
(delete_ca): same.
(import_contact): call gtk_tree_view_expand_all.
(import_ca): same.
(add_user_cert): append to the child model, not the sort model.
(add_contact_cert): same.
(add_ca_cert): same.
(unload_certs): implement the E_CERT_USER case, and fix the
USER/CA stuff to use the sorted treemodels.
(load_certs): remove spew.
(populate_ui): expand all the tree views.
* lib/.cvsignore: ignore the generated marshalling files.
* lib/Makefile.am: add the marshalling foo.
* lib/smime-marshal.list (BOOL): new file.
* lib/e-cert-db.c (pk11_password): new function, emit the
pk11_passwd signal.
(initialize_nss): new function, split out all the nss init code
here, and add all the PKCS12 cipers.
(install_loadable_roots): new function, split this code out from
the class_init.
(e_cert_db_class_init): call initialize_nss() and
install_loadable_roots(). also register our pk11_passwd signal.
(e_cert_db_import_pkcs12_file): implement.
(e_cert_db_login_to_slot): new function, implement.
* lib/e-cert-db.h (struct _ECertDBClass): add pk11_passwd signal,
and add prototype for e_cert_db_login_to_slot.
* lib/e-pkcs12.c (input_to_decoder): remove spew.
(prompt_for_password): fix this.
(import_from_file_helper): fix fix fix, and remove spew.
(write_export_file): nuke, we don't need this.
svn path=/trunk/; revision=24058
2004-01-04 Chris Toshok <toshok@ximian.com>
* gui/certificate-viewer.c (fill_in_general): use <tt> markup
around the fingerprints, and italicize the Not part of certificate
text.
(fill_in_details): create a monospace text tag to be used in the
field value textbuffer.
(fields_selection_changed): use the text tag when inserting text.
svn path=/trunk/; revision=24055
2003-12-10 Not Zed <NotZed@Ximian.com>
* gui/e-cert-selector.c (e_cert_selector_new): if we get no
matching certs, show empty menu rather than crashing. #51922.
svn path=/trunk/; revision=23898