Commit Graph

66 Commits

Author SHA1 Message Date
9964204c9c The Commit from hell that breaks all UI related stuff;
Anything UI related that breaks is now my fault; apologies in advance.

svn path=/trunk/; revision=5415
2000-09-13 23:40:42 +00:00
a029bb7982 This needs to return a const char * and not a char *, because we're not
2000-09-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
	return a const char * and not a char *, because we're not actually
	allocating memory here.
	(create_menubar_file): Changed "Send" to "Send Now" and added
	"Send Later"
	(menu_file_send_later_cb): New callback that emits the POSTPONE
	signal (equivalent to "Send Later"

svn path=/trunk/; revision=5177
2000-09-01 23:53:33 +00:00
9634666fca This needs to return a const char * and not a char *, because we're not
2000-09-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
	return a const char * and not a char *, because we're not actually
	allocating memory here.

svn path=/trunk/; revision=5173
2000-09-01 22:23:40 +00:00
c6c1164cca Prompt the user to save their composition in Drafts. (set_editor_text):
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (do_exit): Prompt the user to save their
	composition in Drafts.
	(set_editor_text): Uhm, use "-- \n" not "--\n" because the space
	is called for in the standard
	(e_msg_composer_new_with_message): New convenience function that
	takes a CamelMimeMessage as an argument. This will be useful when
	we code the ability to resume the editing of a message draft (like
	in the Drafts folder).

svn path=/trunk/; revision=4562
2000-08-07 06:22:02 +00:00
52fac8a12c Constify param
2000-08-01  JP Rosevear  <jpr@helixcode.com>

	* e-msg-composer.h: Constify param

	* e-msg-composer.c (get_signature): Constify param
	(set_editor_text): ditto
	(e_msg_composer_new_with_sig_file): ditto

svn path=/trunk/; revision=4458
2000-08-01 21:27:39 +00:00
121d056d45 New function to create composer with sig file set.
2000-07-28  JP Rosevear  <jpr@arcavia.com>

	* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
	function to create composer with sig file set.
	(e_msg_composer_get_sig_file): New function to get sig file
	(e_msg_composer_set_sig_file): New function to set sig file

2000-07-29  JP Rosevear  <jpr@arcavia.com>

	* mail-format.c (mail_generate_reply): Use new mail config stuff

	* component-factory.c (create_imap_storage): Use new mail config
	stuff
	(create_news_storage): ditto

	* evolution-mail.schemas: Gconf schema for evolution mail

	* mail-config-druid.glade: Gladification of config druid

	* mail-config.h: New header with config structs.

	* mail-config.c: Rewrite of GUI configuration tools to use
	new config structs.  Stores multiple identities and sources now.
	Still only uses the first one found.
	(mail_config_fetch): Returns MailConfig struct to caller
	for configuration queries.
	(mail_config): Renamed function to show mail config dialog.
	(mail_config_druid): Renamed function to show mail config druid.

	* mail-ops.c (create_msg_composer): Use
	e_msg_composer_new_with_sig_file and new config stuff
	(check_configured): Use new config stuff
	(fetch_mail): ditto
	(composer_send_cb): ditto

svn path=/trunk/; revision=4413
2000-07-29 06:04:24 +00:00
e3f8e22df0 Add a "Send HTML mail" toggle in the message composer.
svn path=/trunk/; revision=4284
2000-07-23 13:55:13 +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
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
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
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
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
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
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