diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-06-15 03:05:39 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-06-15 03:05:39 +0800 |
commit | 1072bbd65915a892258d85bdb8190f025f4bfc66 (patch) | |
tree | 47dfa38967e46f0957a2b101ecfeb308ff282e03 /mail/mail-callbacks.h | |
parent | 9df60c5c8fc3ce56c8800e4776deabc2cecaba91 (diff) | |
download | gsoc2013-evolution-1072bbd65915a892258d85bdb8190f025f4bfc66.tar.gz gsoc2013-evolution-1072bbd65915a892258d85bdb8190f025f4bfc66.tar.zst gsoc2013-evolution-1072bbd65915a892258d85bdb8190f025f4bfc66.zip |
Add Reply-to-List bonobo verbs.
2001-06-14 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-factory.c: Add Reply-to-List bonobo verbs.
* folder-browser.c: Add Reply-to-List menu items.
* mail-callbacks.c (mail_reply): Use an enum for specifying the
reply mode, becaus enow we can reply-to-list.
(reply_to_list): Implement.
(reply_to_sender): Use REPLY_SENDER.
(reply_to_all): Use REPLY_ALL.
(mail_generate_reply): Handle the different modes.
svn path=/trunk/; revision=10232
Diffstat (limited to 'mail/mail-callbacks.h')
-rw-r--r-- | mail/mail-callbacks.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mail/mail-callbacks.h b/mail/mail-callbacks.h index b3184403e4..5f1e4228db 100644 --- a/mail/mail-callbacks.h +++ b/mail/mail-callbacks.h @@ -33,6 +33,13 @@ extern "C" { #pragma } #endif /* __cplusplus }*/ +/* these are the possible modes for replying */ +enum { + REPLY_SENDER, + REPLY_LIST, + REPLY_ALL +}; + void enumerate_msg (MessageList *ml, const char *uid, gpointer data); void fetch_mail (GtkWidget *widget, gpointer user_data); @@ -48,7 +55,9 @@ void forward_attached (GtkWidget *widget, gpointer user_data); void forward (GtkWidget *widget, gpointer user_data); void reply_to_sender (GtkWidget *widget, gpointer user_data); +void reply_to_list (GtkWidget *widget, gpointer user_data); void reply_to_all (GtkWidget *widget, gpointer user_data); + void delete_msg (GtkWidget *widget, gpointer user_data); void undelete_msg (GtkWidget *widget, gpointer user_data); void move_msg (GtkWidget *widget, gpointer user_data); @@ -90,7 +99,8 @@ void stop_threads (BonoboUIComponent *uih, void *user_data, const char void empty_trash (BonoboUIComponent *uih, void *user_data, const char *path); -void mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, gboolean to_all); +void mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, int mode); + void composer_send_cb (EMsgComposer *composer, gpointer data); void composer_postpone_cb (EMsgComposer *composer, gpointer data); |