aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-28 05:08:51 +0800
committerDan Winship <danw@src.gnome.org>2001-04-28 05:08:51 +0800
commitd4b3c14fcd52e273d549e20ae84ead8cf1f75d8d (patch)
tree73ddf644a1422e6c0a2b0338fe2b961f5fcdf4f3 /mail/mail-mt.h
parent63e96e100291b330e75cc3b3b49795c720e5ffa0 (diff)
downloadgsoc2013-evolution-d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d.tar
gsoc2013-evolution-d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d.tar.gz
gsoc2013-evolution-d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d.tar.bz2
gsoc2013-evolution-d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d.tar.lz
gsoc2013-evolution-d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d.tar.xz
gsoc2013-evolution-d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d.tar.zst
gsoc2013-evolution-d4b3c14fcd52e273d549e20ae84ead8cf1f75d8d.zip
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
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h6
1 files changed, 4 insertions, 2 deletions
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);