]> git.pld-linux.org Git - packages/evolution.git/blame - evolution-print-crash.patch
- updated to 2.26.3
[packages/evolution.git] / evolution-print-crash.patch
CommitLineData
95d5f8f1
MB
1--- a/mail/em-format-html-print.c 2009/02/03 06:19:45 37216
2+++ b/mail/em-format-html-print.c 2009/02/03 08:39:35 37217
3@@ -71,6 +71,7 @@
4 gtk_container_add (GTK_CONTAINER (efhp->window), html);
5 gtk_widget_realize (html);
6 efhp->parent.show_icon = FALSE;
7+ ((EMFormat *)efhp)->print = TRUE;
8 }
9
10 GType
11--- a/mail/em-format-html.c 2009/02/03 06:19:45 37216
12+++ b/mail/em-format-html.c 2009/02/03 08:39:35 37217
13@@ -1268,7 +1268,7 @@
14 if (handle)
15 handle->handler((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMimePart *)m->message, handle);
16 handle = em_format_find_handler((EMFormat *)m->format, "x-evolution/message/post-header-closure");
17- if (handle)
18+ if (handle && !((EMFormat *)m->format)->print)
19 handle->handler((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMimePart *)m->message, handle);
20
21 }
22--- a/mail/em-format.c 2009/02/03 06:19:45 37216
23+++ b/mail/em-format.c 2009/02/03 08:39:35 37217
24@@ -120,6 +120,7 @@
25 (GDestroyNotify) NULL,
26 (GDestroyNotify) emf_free_cache);
27 emf->composer = FALSE;
28+ emf->print = FALSE;
29 emf->show_photo = TRUE;
30 emf->photo_local = TRUE;
31 e_dlist_init(&emf->header_list);
32--- a/mail/em-format.h 2009/02/03 06:19:45 37216
33+++ b/mail/em-format.h 2009/02/03 08:39:35 37217
34@@ -228,6 +228,7 @@
35 char *charset; /* charset override */
36 char *default_charset; /* charset fallback */
37 gboolean composer; /* Formatting from composer ?*/
38+ gboolean print;
39 gboolean show_photo; /* Want to show the photo of the sender ?*/
40 gboolean photo_local; /* Photos only from local addressbooks */
41 };
This page took 0.112389 seconds and 4 git commands to generate.