aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2000-09-30 07:45:49 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-09-30 07:45:49 +0800
commit831692cf871c3d6bf8fd3b8422adf9dc79fdb88d (patch)
treef865010dc549f6c179fea488e6d1d6505c790964 /mail/mail.h
parentf6471e8c37bb6eafcb27a5cad42310403825367a (diff)
downloadgsoc2013-evolution-831692cf871c3d6bf8fd3b8422adf9dc79fdb88d.tar
gsoc2013-evolution-831692cf871c3d6bf8fd3b8422adf9dc79fdb88d.tar.gz
gsoc2013-evolution-831692cf871c3d6bf8fd3b8422adf9dc79fdb88d.tar.bz2
gsoc2013-evolution-831692cf871c3d6bf8fd3b8422adf9dc79fdb88d.tar.lz
gsoc2013-evolution-831692cf871c3d6bf8fd3b8422adf9dc79fdb88d.tar.xz
gsoc2013-evolution-831692cf871c3d6bf8fd3b8422adf9dc79fdb88d.tar.zst
gsoc2013-evolution-831692cf871c3d6bf8fd3b8422adf9dc79fdb88d.zip
Add print preview verb here.
2000-09-29 Miguel de Icaza <miguel@helixcode.com> * folder-browser-factory.c: Add print preview verb here. * mail-callbacks.c (do_mail_print): Handle printing here, the complete engine. (mail_print_preview_msg): new. does print previewing. (mail_print_msg): does printing of the message. svn path=/trunk/; revision=5641
Diffstat (limited to 'mail/mail.h')
-rw-r--r--mail/mail.h67
1 files changed, 36 insertions, 31 deletions
diff --git a/mail/mail.h b/mail/mail.h
index 679782231f..92a059d7bd 100644
--- a/mail/mail.h
+++ b/mail/mail.h
@@ -69,31 +69,32 @@ char *mail_get_message_body (CamelDataWrapper *data, gboolean want_plain,
char *mail_identify_mime_part (CamelMimePart *part);
/* mail-callbacks */
-void fetch_mail (GtkWidget *widget, gpointer user_data);
-void send_queued_mail (GtkWidget *widget, gpointer user_data);
+void fetch_mail (GtkWidget *widget, gpointer user_data);
+void send_queued_mail (GtkWidget *widget, gpointer user_data);
void send_receieve_mail (GtkWidget *widget, gpointer user_data);
-void compose_msg (GtkWidget *widget, gpointer user_data);
-void send_to_url (const char *url);
-void forward_msg (GtkWidget *widget, gpointer user_data);
-void reply_to_sender (GtkWidget *widget, gpointer user_data);
-void reply_to_all (GtkWidget *widget, gpointer user_data);
-void delete_msg (GtkWidget *widget, gpointer user_data);
-void move_msg (GtkWidget *widget, gpointer user_data);
-void copy_msg (GtkWidget *widget, gpointer user_data);
-void print_msg (GtkWidget *widget, gpointer user_data);
-void edit_msg (GtkWidget *widget, gpointer user_data);
-void view_msg (GtkWidget *widget, gpointer user_data);
-
-void select_all (BonoboUIHandler *uih, void *user_data, const char *path);
-void unselect_all (BonoboUIHandler *uih, void *user_data, const char *path);
-void mark_as_seen (BonoboUIHandler *uih, void *user_data, const char *path);
-void mark_as_unseen (BonoboUIHandler *uih, void *user_data, const char *path);
-
-void edit_message (BonoboUIHandler *uih, void *user_data, const char *path);
-void view_message (BonoboUIHandler *uih, void *user_data, const char *path);
-void expunge_folder (BonoboUIHandler *uih, void *user_data, const char *path);
-void filter_edit (BonoboUIHandler *uih, void *user_data, const char *path);
+void compose_msg (GtkWidget *widget, gpointer user_data);
+void send_to_url (const char *url);
+void forward_msg (GtkWidget *widget, gpointer user_data);
+void reply_to_sender (GtkWidget *widget, gpointer user_data);
+void reply_to_all (GtkWidget *widget, gpointer user_data);
+void delete_msg (GtkWidget *widget, gpointer user_data);
+void move_msg (GtkWidget *widget, gpointer user_data);
+void copy_msg (GtkWidget *widget, gpointer user_data);
+void print_msg (GtkWidget *widget, gpointer user_data);
+void print_preview_msg (GtkWidget *widget, gpointer user_data);
+void edit_msg (GtkWidget *widget, gpointer user_data);
+void view_msg (GtkWidget *widget, gpointer user_data);
+
+void select_all (BonoboUIHandler *uih, void *user_data, const char *path);
+void unselect_all (BonoboUIHandler *uih, void *user_data, const char *path);
+void mark_as_seen (BonoboUIHandler *uih, void *user_data, const char *path);
+void mark_as_unseen (BonoboUIHandler *uih, void *user_data, const char *path);
+
+void edit_message (BonoboUIHandler *uih, void *user_data, const char *path);
+void view_message (BonoboUIHandler *uih, void *user_data, const char *path);
+void expunge_folder (BonoboUIHandler *uih, void *user_data, const char *path);
+void filter_edit (BonoboUIHandler *uih, void *user_data, const char *path);
void vfolder_edit_vfolders (BonoboUIHandler *uih, void *user_data, const char *path);
void providers_config (BonoboUIHandler *uih, void *user_data, const char *path);
void manage_subscriptions (BonoboUIHandler *uih, void *user_data, const char *path);
@@ -103,7 +104,9 @@ void configure_folder (BonoboUIHandler *uih, void *user_data, const char *path);
void mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, gboolean to_all);
void composer_send_cb (EMsgComposer *composer, gpointer data);
void composer_postpone_cb (EMsgComposer *composer, gpointer data);
-void mail_print_msg (MailDisplay *md);
+
+void mail_print_preview_msg (MailDisplay *md);
+void mail_print_msg (MailDisplay *md);
void run_filter_ondemand (BonoboUIHandler *uih, gpointer user_data, const char *path);
@@ -124,10 +127,12 @@ void forget_passwords (BonoboUIHandler *uih, void *user_data,
extern CamelSession *session;
/* message-list */
-void vfolder_subject(GtkWidget *w, FolderBrowser *fb);
-void vfolder_sender(GtkWidget *w, FolderBrowser *fb);
-void vfolder_recipient(GtkWidget *w, FolderBrowser *fb);
-void filter_subject(GtkWidget *w, FolderBrowser *fb);
-void filter_sender(GtkWidget *w, FolderBrowser *fb);
-void filter_recipient(GtkWidget *w, FolderBrowser *fb);
-void filter_mlist(GtkWidget *w, FolderBrowser *fb);
+void vfolder_subject (GtkWidget *w, FolderBrowser *fb);
+void vfolder_sender (GtkWidget *w, FolderBrowser *fb);
+void vfolder_recipient (GtkWidget *w, FolderBrowser *fb);
+
+void filter_subject (GtkWidget *w, FolderBrowser *fb);
+void filter_sender (GtkWidget *w, FolderBrowser *fb);
+void filter_recipient (GtkWidget *w, FolderBrowser *fb);
+void filter_mlist (GtkWidget *w, FolderBrowser *fb);
+