GNOME Bugzilla – Bug 106095
Body of HTML emails printed as attachment icon only.
Last modified: 2004-12-22 21:47:04 UTC
Arno Peters originally filed the following bug report at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=180899 Summary: Printing a HTML-only mail with Balsa will show only the text/html icon instead of the contents of the message.
As was discussed on the Balsa list: the simplest solution seems to involve GtkHtml-3, which is the Gnome-2 port of the original GtkHtml (I believe!), and is used by the Gnome-2 port of Evolution (I believe). I've worked up a patch, which checks for GtkHtml-3 and uses it if installed, in which case it can print HTML message parts (too high, for some reason, and consequently overprinting the page numbers). It touches configure.in, about which I'm massively ignorant, so it should be handled as a high-level biohazard, but I'm going to post it here anyway--YHBW!
Created attachment 17818 [details] [review] Patch against current cvs
Here's a more extensive patch, exploiting more of the capabilities of GtkHtml-3: - print html parts; - select-all and copy in html parts; - quote html parts when replying. It also makes zooming conditional on HAVE_GTKHTML, which it should have been all along. Three files follow: - a patch (for current HEAD cvs); - libbalsa/html.c (new file); - libbalsa/html.h (new file).
Created attachment 18168 [details] [review] Patch for current cvs
Created attachment 18169 [details] New file
Created attachment 18170 [details] New file
gar. do you have a nice gtkhtml3 rpm ? :)
These are what I installed over RH9: gtkhtml3-3.0.3-1.i386.rpm gtkhtml3-devel-3.0.3-1.i386.rpm libgal2-1.99.4-1.i386.rpm libgal2-devel-1.99.4-1.i386.rpm libgnomecanvas-2.2.0.2-1.i386.rpm libgnomecanvas-devel-2.2.0.2-1.i386.rpm Iirc, there are more recent gtkhtml3 rpms, but they required more upgrades, and I just didn't want to go there...
Are these patches moving balsa to using gtkhtml3 instead of gtkhtml2 or am I missing something?
Isn't this fixed Peter ?
I close this report since gtkhtml3 support is in balsa now.