Commit Graph

7 Commits

Author SHA1 Message Date
e1328c5de8 Lookup the handler for the type. If we don't have a registered handler or
2003-03-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (do_external_viewer): Lookup the handler for the
	type. If we don't have a registered handler or if the registered
	handler is not meant to be handled via a bonobo component, don't
	use a bonobo component.

	* mail-format.c (mail_lookup_handler): If we register a new
	handler that is to be handled by a bonobo component, set
	handler->is_bonobo to TRUE.

svn path=/trunk/; revision=20311
2003-03-17 16:45:04 +00:00
36d9b4794e If the part url is a text part, use
2003-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_url_requested): If the part url is a text
	part, use mail_format_data_wrapper_write_to_stream(). This should
	fix bug #39204.

	* mail-format.c (mail_format_data_wrapper_write_to_stream): Make public.

svn path=/trunk/; revision=20219
2003-03-07 18:43:38 +00:00
0655a2b8fd new
svn path=/trunk/; revision=19205
2003-01-02 20:05:40 +00:00
2ef945c6e2 consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h and
* mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h,
	main.h and session.h into this new file. There's no reason to have
	a .h for every .c.

svn path=/trunk/; revision=2830
2000-05-06 17:16:22 +00:00
9713f20bc8 Redo large chunks of this. The mail display now consists of a vbox in a
* mail-display.c, mail-format.c: Redo large chunks of this. The
	mail display now consists of a vbox in a scrolled window, in which
	we put multiple GtkHTML objects. This means broken HTML in one
	part can't corrupt other parts. The headers now scroll with the
	body. Unrecognized attachments look prettier, but still don't do
	anything, and will probably be changed later. We can also now
	display nested message/rfc822 parts and multipart/alternatives
	with multipart subparts. Oh, and text/{richtext,enriched}, since
	we had all these ancient sample messages that use it and the lack
	of support annoyed me. :)

	Bonobo embeddables are broken right now, but I don't think that's
	my fault.

svn path=/trunk/; revision=2601
2000-04-25 14:59:08 +00:00
f5ec554c15 move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,
* folder-browser-factory.c: move msg_composer_cb and
	msg_composer_send_cb to mail-ops. Attach send, reply, and "reply
	to all" buttons.

	* mail-ops.c (composer_send_cb, send): moved from
	folder-browser-factory.c.
	(reply_to_sender, reply_to_all): new functions to do replies.

	* mail-format.c (text_to_html): Add an "add_pre" flag, to make
	it wrap the output in <pre></pre>.
	(mail_generate_reply): New function to create a composer and build
	a reply in it.

svn path=/trunk/; revision=2554
2000-04-22 18:07:14 +00:00
b172457252 Moved from camel/camel-formatter, and changed slightly. (More to come.)
2000-04-14  Dan Winship  <danw@helixcode.com>

	* mail-format.[ch]: Moved from camel/camel-formatter, and changed
	slightly. (More to come.)

	* html-stream.[ch]: No longer necessary. mail-format uses
	GtkHTMLStreamHandles directly.

	* mail-display.[ch]: update for new message formatting code.

svn path=/trunk/; revision=2438
2000-04-14 21:11:56 +00:00