]> git.pld-linux.org Git - packages/evolution.git/commitdiff
- fixes crash (from upstream)
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Fri, 20 Feb 2009 18:36:12 +0000 (18:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    evolution-print-crash.patch -> 1.1

evolution-print-crash.patch [new file with mode: 0644]

diff --git a/evolution-print-crash.patch b/evolution-print-crash.patch
new file mode 100644 (file)
index 0000000..35941f6
--- /dev/null
@@ -0,0 +1,41 @@
+--- a/mail/em-format-html-print.c      2009/02/03 06:19:45     37216
++++ b/mail/em-format-html-print.c      2009/02/03 08:39:35     37217
+@@ -71,6 +71,7 @@
+       gtk_container_add (GTK_CONTAINER (efhp->window), html);
+       gtk_widget_realize (html);
+       efhp->parent.show_icon = FALSE;
++      ((EMFormat *)efhp)->print = TRUE;
+ }
+ GType
+--- a/mail/em-format-html.c    2009/02/03 06:19:45     37216
++++ b/mail/em-format-html.c    2009/02/03 08:39:35     37217
+@@ -1268,7 +1268,7 @@
+               if (handle)
+                       handle->handler((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMimePart *)m->message, handle);
+               handle = em_format_find_handler((EMFormat *)m->format, "x-evolution/message/post-header-closure");
+-              if (handle)
++              if (handle && !((EMFormat *)m->format)->print)
+                       handle->handler((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMimePart *)m->message, handle);
+       }
+--- a/mail/em-format.c 2009/02/03 06:19:45     37216
++++ b/mail/em-format.c 2009/02/03 08:39:35     37217
+@@ -120,6 +120,7 @@
+               (GDestroyNotify) NULL,
+               (GDestroyNotify) emf_free_cache);
+       emf->composer = FALSE;
++      emf->print = FALSE;
+       emf->show_photo = TRUE;
+       emf->photo_local = TRUE;
+       e_dlist_init(&emf->header_list);
+--- a/mail/em-format.h 2009/02/03 06:19:45     37216
++++ b/mail/em-format.h 2009/02/03 08:39:35     37217
+@@ -228,6 +228,7 @@
+       char *charset;          /* charset override */
+       char *default_charset;  /* charset fallback */
+       gboolean composer; /* Formatting from composer ?*/
++      gboolean print;
+       gboolean show_photo; /* Want to show the photo of the sender ?*/
+       gboolean photo_local; /* Photos only from local addressbooks */
+ };
This page took 0.087658 seconds and 4 git commands to generate.