Commit Graph

278 Commits

Author SHA1 Message Date
c6af86a140 routine to read the user's signature file. (set_editor_text): If the user
* e-msg-composer.c (get_signature): routine to read the user's
	signature file.
	(set_editor_text): If the user has configured a signature, append
	it to the set text.
	(e_msg_composer_new): Call set_editor_text with "" to load the
	signature (if any).

svn path=/trunk/; revision=3220
2000-05-26 15:40:50 +00:00
3c89185e9f Update for CamelMultipart changes.
* e-msg-composer.c (build_message): Update for CamelMultipart changes.

svn path=/trunk/; revision=3218
2000-05-26 14:46:56 +00:00
5de3176b65 Update for PersistStream changes
* e-msg-composer.c (get_editor_text, set_editor_text): Update for
	PersistStream changes

svn path=/trunk/; revision=3215
2000-05-26 14:28:04 +00:00
bd7bb08d47 Use camel_data_wrapper_new instead of camel_simple_data_wrapper_new.
2000-05-25  Not Zed  <NotZed@HelixCode.com>

        * e-msg-composer.c (build_message): Use camel_data_wrapper_new
        instead of camel_simple_data_wrapper_new.

svn path=/trunk/; revision=3209
2000-05-25 23:43:34 +00:00
52363dd1a2 Use camel_simple_data_wrapper_new rather than camel_data_wrapper_new.
* e-msg-composer.c (build_message): Use
	camel_simple_data_wrapper_new rather than camel_data_wrapper_new.

svn path=/trunk/; revision=3114
2000-05-18 01:03:44 +00:00
0e5f158b52 NUL-terminate the data extracted from the BonoboStream.
* e-msg-composer.c (get_editor_text): NUL-terminate the data
	extracted from the BonoboStream.

svn path=/trunk/; revision=3005
2000-05-12 18:20:47 +00:00
d901164ccc make it really work with oaf. I need to recompile everyhting now.. shit
svn path=/trunk/; revision=2914
2000-05-08 12:08:21 +00:00
b74fafebab uh
svn path=/trunk/; revision=2913
2000-05-08 11:55:53 +00:00
980f3552f4 make the composer work with oaf
svn path=/trunk/; revision=2912
2000-05-08 11:42:33 +00:00
7bd8141a28 unref content, etc. after attaching it to message.
* e-msg-composer.c (build_message): unref content, etc. after
	attaching it to message.

	* e-msg-composer-attachment-bar.c (attach_to_multipart): unref
	part after attaching it.

svn path=/trunk/; revision=2884
2000-05-07 21:57:20 +00:00
b9d26cb85f New routine, to process mailto URLs.
* e-msg-composer.c (e_msg_composer_new_from_url): New routine, to
	process mailto URLs.

svn path=/trunk/; revision=2663
2000-04-27 19:01:58 +00:00
e71125295c Oops. Fix previous commit so we don't get a mime part nested directly
inside a mime part

svn path=/trunk/; revision=2651
2000-04-26 22:46:52 +00:00
9f81c2c796 Only generate a multipart message if there are attachments. Otherwise
* e-msg-composer.c (build_message): Only generate a multipart
	message if there are attachments. Otherwise generate a single
	part.

svn path=/trunk/; revision=2648
2000-04-26 21:52:13 +00:00
2a6a191e05 Remove. We weren't using the fields that made this different from
* camel-mime-body-part.[ch]: Remove. We weren't using the fields
	that made this different from camel-mime-part, so it basically
	just forced us to do lots of gratuitous typecasting.

	* camel-multipart.[ch]: Use CamelMimePart. Remove the multipart
	parent stuff, since we weren't using that either.

	* etc: update for CamelMimeBodyPart -> CamelMimePart

svn path=/trunk/; revision=2645
2000-04-26 21:30:32 +00:00
2409d71026 Update for camel_mime_part_set_content.
svn path=/trunk/; revision=2644
2000-04-26 20:42:22 +00:00
ec4ad73a58 add a s/SIMPLE_// that notzed missed remove a now-unused variable
* e-msg-composer-attachment-bar.c (attach_to_multipart): add a
	s/SIMPLE_// that notzed missed
	* e-msg-composer.c (build_message): remove a now-unused variable

svn path=/trunk/; revision=2630
2000-04-26 14:40:05 +00:00
854e4ba9a4 Use camel_mime_part_set_text() to set the text rather than messing with
2000-04-26  NotZed  <NotZed@HelixCode.com>

        * e-msg-composer.c (build_message): Use camel_mime_part_set_text()
        to set the text rather than messing with data wrappers.

        * e-msg-composer-attachment-bar.c (attach_to_multipart): Change
        for new camel-stream interfaces.
        (attach_to_multipart): Also set base64 encoding by default.

svn path=/trunk/; revision=2623
2000-04-26 10:25:52 +00:00
e8bff6c44e fix menu problem in composer window
* fix menu problem in composer window

2000-04-25  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (create_editor): use uih here
	(e_msg_composer_construct): create menubar/toolbar before creating
	editor control

svn path=/trunk/; revision=2604
2000-04-25 16:49:19 +00:00
1af18445c9 new function to make the composer record additional headers it should
* e-msg-composer.c (e_msg_composer_add_header): new function to
	make the composer record additional headers it should output.
	(In-Reply-To), etc.
	(build_message): output them

svn path=/trunk/; revision=2552
2000-04-22 17:03:07 +00:00
ed4fea3fe3 Connect "Exit" menu item finally.
* e-msg-composer.c (exit_cb): Connect "Exit" menu item finally.

svn path=/trunk/; revision=2549
2000-04-21 21:28:17 +00:00
eb87301392 new functions
* e-msg-composer.c (e_msg_composer_set_headers):
	(e_msg_composer_set_body_text): new functions

	* e-msg-composer-hdrs.c: const poisoning
	(e_msg_composer_hdrs_set_subject):
	(e_msg_composer_hdrs_get_subject): new functions

	* e-msg-composer-address-entry.c: const poisoning

svn path=/trunk/; revision=2548
2000-04-21 18:38:04 +00:00
e38b6187f5 new functions to get and set the contents of the HTML editor via
* e-msg-composer.c (get_editor_text, set_editor_text): new
	functions to get and set the contents of the HTML editor via
	Bonobo::PersistStream.
	(build_message): use get_editor_text. This works again.

svn path=/trunk/; revision=2527
2000-04-20 18:55:06 +00:00
96b306af32 Remove the "session" field from CamelMimeMessage. Nothing uses it, about
* camel-mime-message.[ch]: Remove the "session" field from
	CamelMimeMessage. Nothing uses it, about half of the existing
	calls to camel_mime_message_new_with_session pass NULL, and
	there's no obvious reason for it to be there.

	* others: Use camel_mime_message_new instead of
	camel_mime_message_new_with_session

svn path=/trunk/; revision=2479
2000-04-17 20:23:30 +00:00
198d97bdb8 Get the menubar to work.
svn path=/trunk/; revision=2118
2000-03-17 10:29:01 +00:00
13edeabcd2 Further work.
svn path=/trunk/; revision=2088
2000-03-08 15:55:14 +00:00
d932fda48b Bonobization of the message composer, part 1.
svn path=/trunk/; revision=2012
2000-03-02 11:19:39 +00:00
6bddc9bd17 Don't use libglade for menus and toolbars in the message composer
anymore.  This is the first step; next step is to use BonoboUIHandler.

svn path=/trunk/; revision=2010
2000-03-02 06:32:45 +00:00
9663037f6c More work:
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.

svn path=/trunk/; revision=1395
1999-11-17 15:35:43 +00:00