diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-01 02:02:22 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-01 02:02:22 +0800 |
commit | cd5ff486fb02451645f8b4b39608edca2da5e4a2 (patch) | |
tree | 5aff2bff0e48bc3333ff1fc3fdb619c4c34fdbd2 /composer/e-composer-actions.c | |
parent | 70fce0bbb0712dc70a15c481c0b65d68a98a4ff7 (diff) | |
download | gsoc2013-evolution-cd5ff486fb02451645f8b4b39608edca2da5e4a2.tar gsoc2013-evolution-cd5ff486fb02451645f8b4b39608edca2da5e4a2.tar.gz gsoc2013-evolution-cd5ff486fb02451645f8b4b39608edca2da5e4a2.tar.bz2 gsoc2013-evolution-cd5ff486fb02451645f8b4b39608edca2da5e4a2.tar.lz gsoc2013-evolution-cd5ff486fb02451645f8b4b39608edca2da5e4a2.tar.xz gsoc2013-evolution-cd5ff486fb02451645f8b4b39608edca2da5e4a2.tar.zst gsoc2013-evolution-cd5ff486fb02451645f8b4b39608edca2da5e4a2.zip |
Let the mailer handle composer printing.
Start roughing in the mailer search bar.
svn path=/branches/kill-bonobo/; revision=37199
Diffstat (limited to 'composer/e-composer-actions.c')
-rw-r--r-- | composer/e-composer-actions.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c index ecf9f179f6..71065d6996 100644 --- a/composer/e-composer-actions.c +++ b/composer/e-composer-actions.c @@ -22,7 +22,6 @@ #include <fcntl.h> #include <e-util/e-error.h> #include <mail/em-event.h> -#include <mail/em-format-html-print.h> #include <mail/em-composer-utils.h> #include "misc/e-charset-picker.h" @@ -184,15 +183,9 @@ action_print_cb (GtkAction *action, EMsgComposer *composer) { GtkPrintOperationAction print_action; - CamelMimeMessage *message; - EMFormatHTMLPrint *efhp; print_action = GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG; - message = e_msg_composer_get_message (composer, 1); - - efhp = em_format_html_print_new (NULL, print_action); - em_format_html_print_raw_message (efhp, message); - g_object_unref (efhp); + e_msg_composer_print (composer, print_action); } static void @@ -200,15 +193,9 @@ action_print_preview_cb (GtkAction *action, EMsgComposer *composer) { GtkPrintOperationAction print_action; - CamelMimeMessage *message; - EMFormatHTMLPrint *efhp; print_action = GTK_PRINT_OPERATION_ACTION_PREVIEW; - message = e_msg_composer_get_message_print (composer, 1); - - efhp = em_format_html_print_new (NULL, print_action); - em_format_html_print_raw_message (efhp, message); - g_object_unref (efhp); + e_msg_composer_print (composer, print_action); } static void |