Commit Graph

391 Commits

Author SHA1 Message Date
3fb1708c2c changed "Exit" to "Close" in the File menu
svn path=/trunk/; revision=3838
2000-06-30 22:52:59 +00:00
a2a6d4d922 Changed "Exit" to "Close" in the File menu. This is a little more
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c: Changed "Exit" to "Close" in the File menu.
	This is a little more intuitive as it does not suggest exiting
	the application, just says "close this window"

svn path=/trunk/; revision=3814
2000-06-29 22:34:21 +00:00
a612351173 Implement "Save"/"Save As...".
svn path=/trunk/; revision=3739
2000-06-26 18:07:22 +00:00
105f78dbe8 I18N the message composer's title bar. Don't install header files.
Initial implementation of the "Open" and "Save as" commands (not
really tested/finished, I am just syncing the tree before leaving).
Put the cursor on the "To:" field when the message composer is shown.
Set the correct shadow type in the scroll frame.

svn path=/trunk/; revision=3603
2000-06-17 03:10:38 +00:00
f73a4deee4 Don't line-wrap lines that start with ">".
* e-msg-composer.c (format_text): Don't line-wrap lines that start
	with ">".

svn path=/trunk/; revision=3569
2000-06-14 15:49:14 +00:00
c0748cf4f1 implemented a temp hack for the imap fetch by uid code
(works something like the POP code, should be fixed to work like we originally planned)

svn path=/trunk/; revision=3540
2000-06-13 00:27:30 +00:00
3fbf507949 If a paragraph starts with TABs, indent the whole paragraph to that tab
* e-msg-composer.c (format_text): If a paragraph starts with TABs,
	indent the whole paragraph to that tab level.

svn path=/trunk/; revision=3534
2000-06-12 20:40:16 +00:00
c845d685bb Make the message composer use a EScrollFrame for the attachment bar
and make the quit message I18N aware.

svn path=/trunk/; revision=3533
2000-06-12 20:29:39 +00:00
870e780ce2 Don't break on non-breaking spaces, don't keep non-breaking spaces that
* e-msg-composer.c (format_text): Don't break on non-breaking
	spaces, don't keep non-breaking spaces that fall after a line
	wrap, and translate non-breaking spaces to regular ones after
	wrapping.

svn path=/trunk/; revision=3530
2000-06-12 18:41:59 +00:00
5ec9e5b228 New convenience function.
* e-msg-composer.c (e_msg_composer_attach): New convenience
	function.

	* e-msg-composer-attachment.c: Store a CamelMimePart rather than
	filename/description/mime_type info. Also record whether we were
	told or guessed the MIME type.
	(e_msg_composer_attachment_new_from_mime_part): New constructor.
	(e_msg_composer_attachment_edit): Remove the "browse" button. (If
	the user wants to change the actual file that the attachment is
	based on, he should delete the attachment and create a new one...)
	Remove the "Apply" button, because it's not all that useful. Make
	the MIME type only track the filename if it was guessed rather
	than being provided.

	* e-msg-composer-attachment.glade: Remove "browse" and "apply"
	buttons. Make filename editable.

	* e-msg-composer-attachment-bar.c (sort): Removed. Send the
	attachments in the order the user attached them in.
	(text_changed): Removed, since we weren't enabling the relevant
	GnomeIconList functionality that would have used this.
	(update): Don't print the size if it's 0.
	(attach_to_multipart, etc): adjust for EMsgComposerAttachment
	changes.
	(attach_to_multipart): Use 7bit encoding for message/ subparts.
	(e_msg_composer_attachment_bar_attach_mime_part): New convenience
	function.

svn path=/trunk/; revision=3430
2000-06-05 21:14:32 +00:00
147be136c4 Added the ability to save plain text mail.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-msg-composer.c: Added the ability to save plain text mail.

svn path=/trunk/; revision=3397
2000-06-02 19:18:34 +00:00
9b1893e93d add a "format" argument so we can fetch different kinds of text.
* e-msg-composer.c (get_editor_text): add a "format" argument so
	we can fetch different kinds of text.
	(format_text): New function to do line wrapping on plain text.
	(build_message): Build multipart/alternative messages rather than
	HTML-only ones. Yay. We don't suck (as much) any more!

svn path=/trunk/; revision=3267
2000-05-29 19:34:43 +00:00
f7f298203f #include <errno.h>
* e-msg-composer.c: #include <errno.h>

svn path=/trunk/; revision=3251
2000-05-28 19:58:14 +00:00
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