From 1dc76861d81c012c80871738ae6d18ed4fc881fe Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 28 May 2004 07:52:37 +0000 Subject: ** See bugs #52061 & #52669. 2004-05-28 Not Zed ** 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 --- smime/gui/cert-trust-dialog.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 smime/gui/cert-trust-dialog.h (limited to 'smime/gui/cert-trust-dialog.h') diff --git a/smime/gui/cert-trust-dialog.h b/smime/gui/cert-trust-dialog.h new file mode 100644 index 0000000000..fe71c6a1b5 --- /dev/null +++ b/smime/gui/cert-trust-dialog.h @@ -0,0 +1,32 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Chris Toshok + * Michael Zucchi + * + * Copyright (C) 2004 Novell, Inc. (www.novell.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + +#ifndef _CERT_TRUST_DIALOG_H_ +#define _CERT_TRUST_DIALOG_H + +struct _GtkWidget; +struct _ECert; + +struct _GtkWidget* cert_trust_dialog_show (struct _ECert *cert); + +#endif /* _CERT_TRUST_DIALOG_H_ */ -- cgit