From d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 27 Apr 2001 21:08:51 +0000 Subject: Renamed from session.c and made to be a subclass of CamelSession. * mail-session.c: Renamed from session.c and made to be a subclass of CamelSession. * mail-mt.c (mail_user_message): Renamed from mail_get_accept and made more general-purpose, to implement the new camel_session_alert_user. svn path=/trunk/; revision=9618 --- mail/mail-mt.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail/mail-mt.h') diff --git a/mail/mail-mt.h b/mail/mail-mt.h index 002d8b796c..ac199af239 100644 --- a/mail/mail-mt.h +++ b/mail/mail-mt.h @@ -68,8 +68,10 @@ void mail_status(const char *msg); /* request a string/password */ char *mail_get_password (const char *prompt, gboolean secret); -/* request a yes/no response as to whether or not to accept (a certificate?) */ -gboolean mail_get_accept (const char *prompt); +/* present information and get an ok (or possibly cancel) + * "type" is as for gnome_message_box_new(); + */ +gboolean mail_user_message (const char *type, const char *prompt, gboolean allow_cancel); /* forward a camel event (or other call) to the gui thread */ int mail_proxy_event(CamelObjectEventHookFunc func, CamelObject *o, void *event_data, void *data); -- cgit v1.2.3