Commit Graph

278 Commits

Author SHA1 Message Date
8a0c0a6802 Replace #include <gtk/gtk.h> Replace #include <gnome.h> Remove #include
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-icon-list.c: Replace #include <gtk/gtk.h>
	* e-msg-composer-attachment-bar.c: Replace #include <gnome.h>
	* e-msg-composer-attachment-bar.h: Remove #include <gnome.h>
	* e-msg-composer-attachment.c: Remove #include <gnome.h>
	* e-msg-composer-attachment.h: Same here.
	* e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h>
	* e-msg-composer-hdrs.h: Replace #include <gnome.h>
	* e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h>
	* e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h>
	* e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h>
	* evolution-composer.c: Replace #include <bonobo.h>
	* listener.c: Same here.

svn path=/trunk/; revision=9023
2001-03-29 20:22:54 +00:00
4eef2ce98d Use the drafts folder specified by the account, if possible. Also, fix the
* e-msg-composer.c (save_draft): Use the drafts folder specified
	by the account, if possible. Also, fix the setting of "send_html"
	after saving the draft in case the user plans to keep editting...

svn path=/trunk/; revision=8992
2001-03-28 17:48:08 +00:00
385e0d6441 set the FormatHTML property on the editor to let it know the mode.
2001-03-27  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (e_msg_composer_set_send_html): set the
	FormatHTML property on the editor to let it know the mode.
	(e_msg_composer_construct): set the FormatHTML property at
	construct time.

svn path=/trunk/; revision=8982
2001-03-27 18:10:19 +00:00
ad24594478 set the FormatHTML property on the editor to let it know the mode.
2001-03-27  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (e_msg_composer_set_send_html): set the
	FormatHTML property on the editor to let it know the mode.

svn path=/trunk/; revision=8974
2001-03-27 10:37:07 +00:00
b1f9622c1a Added view_replyto member.
2001-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.h: Added view_replyto member.

	* e-msg-composer.c (e_msg_composer_get_visible_flags): Find out if
	we want to view the Reply-To header.
	(e_msg_composer_set_view_replyto): A new function to set the state
	of the replyto header.
	(menu_view_replyto_cb): Callback for setting the ReplyTo state.
	(set_config): Make static.
	(setup_ui): Setup the ReplyTo bonobo stuff.
	(load_from_property_bag): More defaults for the ReplyTo, yay.
	(load_from_gnome_config): Again...
	(e_msg_composer_get_view_bcc): Implemented.
	(e_msg_composer_get_view_cc): Implemented.
	(e_msg_composer_get_view_from): Implemented.
	(e_msg_composer_get_view_replyto): Implemented.

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to_entry):
	New function, yay.
	(e_msg_composer_hdrs_get_reply_to): Another new function.
	(e_msg_composer_hdrs_set_reply_to): Yet another new function...
	(create_headers): Create the reply-to header.
	(attach_headers): Attach the reply_to.
	(headers_set_visibility): Set the reply_to visibility.
	(e_msg_composer_hdrs_to_message): Set the message's reply-to here
	based on the user-set reply-to header.

svn path=/trunk/; revision=8657
2001-03-13 00:05:02 +00:00
6145f688cc New function. Used to store integer values into the configuration engine.
2001-03-06  Miguel de Icaza  <miguel@ximian.com>

	* e-msg-composer.c (set_config): New function.  Used to store
	integer values into the configuration engine.  Handles the case of
	Bonobo-conf being installed, or falls back to gnome_config.

	* e-msg-composer-hdrs.c (add_header): Renamed to be
	header_new_recipient().  Now we take care of the other cases in
	create_headers, which is a lot nicer now.

	(create_optionmenu): Removed extra "name" argument which was not
	being used anyways (the only arg passed was From:).
	(init): Removed all the redundant NULL initialization by using
	nice g_new0

	(create_headers): New function, much cleaner.

	Use of Pair structure everywhere instead of individual widgets to
	keep track of which ones are visible and which ones are not.

	* e-msg-composer.c (setup_ui): Handle ViewFrom and ViewBCC
	commands.
	(menu_view_bcc_cb, menu_view_from_cb): New functions that
	implement the features described.

	(menu_format_html_cb): Removed unrequired test, as
	e_msg_composer_set_send_html already optimizes the case of the
	state being the same.
	(menu_security_pgp_encrypt_cb): Remove redundant code.
	(menu_security_pgp_sign_cb): ditto.

2001-03-06  Miguel de Icaza  <miguel@ximian.com>

	* evolution-message-composer.xml: Reorder menus to be File, Edit,
	View, Insert, Format (instead of File, Edit, Format, View, Insert).

	Add View/From Field and View/From BCC

	Add Insert/File.

	Add File/Send menu item.

	Change the look to follow the "mailer" look (thiner display).

svn path=/trunk/; revision=8590
2001-03-08 02:06:26 +00:00
822b196464 Use mail_append_mail to save to drafts instead of custom thread handler.
2001-02-21  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (menu_file_save_draft_cb):
        (exit_dialog_cb):  Use mail_append_mail to save to drafts instead
        of custom thread handler.

svn path=/trunk/; revision=8313
2001-02-21 02:18:22 +00:00
8c481ff34d Handle exceptions a little nicer and pop up a nice GnomeDialog with the
2001-02-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Handle exceptions a little
	nicer and pop up a nice GnomeDialog with the error message - also,
	don't return a CamelMimeMessage if it fails to sign/decrypt
	because we want to let the user decide what to do based on the
	error message he/she gets.

svn path=/trunk/; revision=8296
2001-02-20 00:42:28 +00:00
bd655cb765 If @account_name is NULL, pick the default account rather than giving a
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): If
	@account_name is NULL, pick the default account rather than giving
	a g_warning.

	* e-msg-composer.c (e_msg_composer_set_headers): Note in the
	doc comment that @from can be NULL if you want the default account
	(since there is code that expects this).

svn path=/trunk/; revision=8243
2001-02-15 17:38:54 +00:00
aae60baf01 Updated. We might want to change the corba interface for this to allow
2001-02-10  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-composer.c (impl_Composer_set_headers): Updated. We
	might want to change the corba interface for this to allow setting
	the from-address as well.

	* e-msg-composer.c (e_msg_composer_new_with_message): Updated.
	(e_msg_composer_set_headers): Now takes a 'From' argument so that
	we can try to pre-determine the account the user will want to send
	from.

svn path=/trunk/; revision=8165
2001-02-11 04:12:12 +00:00
024435f8cc (Moving the flag for has_changed from the Hdrs to the Composer itself.
2001-01-25  Jason Leach  <jasonleach@usa.net>

        (Moving the flag for has_changed from the Hdrs to the Composer
	itself. Providing public methods to set/unset a composer as
	changed. Adding attachments now flags the composer as changed)

	* e-msg-composer.c (e_msg_composer_unset_changed): New function.
	  (e_msg_composer_set_changed): New function.

	* e-msg-composer.c (hdrs_changed_cb): Callback to the new signal,
	  uses the new composer_set_changed.
	  (attachment_bar_changed_cb): Add a call to the new _set_changed.

	* e-msg-composer-hdrs.c (class_init): New signal "hdrs_changed" to
	  tell the parent composer that any of the headers have changed.
	  (addressbook_entry_changed): emit the new signal here.
	  (entry_changed): And here.

svn path=/trunk/; revision=7818
2001-01-25 19:35:54 +00:00
5bf4f88ae2 New callback. (menu_security_pgp_sign_cb): Another new callback.
2001-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (menu_security_pgp_encrypt_cb): New callback.
	(menu_security_pgp_sign_cb): Another new callback.
	(setup_ui): Added initialization for the PGP sign and encrypt
	bonobo menu items.
	(e_msg_composer_set_pgp_encrypt): Change the Bonobo UI name to
	SecurityPGPEncrypt.
	(e_msg_composer_set_pgp_sign): Change the Bonobo UI name to
	SecurityPGPSign.

svn path=/trunk/; revision=7793
2001-01-24 23:51:54 +00:00
e304de4bbe Fixed some memory leaks dealing with content-type temp strings. Also
2001-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Fixed some memory leaks
	dealing with content-type temp strings. Also implemented code to
	sign and/or encrypt the message if the user has specified that it
	should.

svn path=/trunk/; revision=7688
2001-01-21 23:08:37 +00:00
f94261ab03 Updated to reflect changes to e_msg_composer_hdrs_get_from().
2001-01-18  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Updated to reflect changes to
	e_msg_composer_hdrs_get_from().

	* e-msg-composer-hdrs.c (set_recipients): Don't do anymore utf8
	conversions, the widget already does this (or should unless there
	is brokenness).
	(e_msg_composer_hdrs_get_from): Return a CamelInternetAddress like
	we should.
	(e_msg_composer_hdrs_to_message): Update to reflect changes made
	the the above function.

svn path=/trunk/; revision=7614
2001-01-18 05:44:08 +00:00
809a9d8014 (Bug #1192: Set the Composer window title to something useful)
2001-01-17  Jason Leach  <jasonleach@usa.net>

	(Bug #1192: Set the Composer window title to something useful)

	* e-msg-composer.c (e_msg_composer_construct): Connect up the new
	signal here.
	(subject_changed_cb): Set the composer window title to the subject
	as it's changed, or if it goes blank make it the default "Compose
	a message".

	* e-msg-composer-hdrs.c (class_init): Create a new signal
	"subject_changed".
	(entry_changed): Emit the signal here when the subject entry is
	changed.

svn path=/trunk/; revision=7610
2001-01-18 03:15:16 +00:00
9132850231 Use the to/cc/bcc addresses insted of just the to.
2001-01-17  JP Rosevear  <jpr@ximian.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Use the
	to/cc/bcc addresses insted of just the to.

svn path=/trunk/; revision=7581
2001-01-17 16:34:07 +00:00
478430510e publicate mark_orig_text (set_editor_text): don't call mark_orig_text, let
2001-01-16  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (e_msg_composer_mark_text_orig): publicate
	mark_orig_text
	(set_editor_text): don't call mark_orig_text, let it for reply

svn path=/trunk/; revision=7543
2001-01-16 20:55:18 +00:00
8ad2b343a0 Call set_from_account which means we no longer have to do all the crap
2001-01-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): Call set_from_account which
	means we no longer have to do all the crap involved in formatting
	strings into an internet-address.
	(e_msg_composer_get_preferred_account): New access function.

	* e-msg-composer-hdrs.c (add_header): case COMBOBOX has changed to
	OPTIOMENU.
	(create_optionmenu): Update to use an optionmenu of accounts.
	(from_changed): New callback for the From optionmenu.
	(setup_headers): s/COMBOBOX/OPTIONMENU
	(init): Set the account and from_options to NULL.
	(e_msg_composer_hdrs_get_from): Updated.
	(destroy): free the from_options.
	(e_msg_composer_hdrs_set_from_address): Renamed from set_from
	because it no longer takes a string arg but rather an account arg.

svn path=/trunk/; revision=7458
2001-01-12 21:13:26 +00:00
891d37dac8 Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOX
2001-01-12  Miguel de Icaza  <miguel@ximian.com>

	* e-msg-composer-hdrs.c (add_header): Only attach to "changed" if
	the widget is an EEntry.  The HEADER_COMBOBOX and the
	HEADER_ADDRBOOK are a ComboBox and a remote Bonobo control
	respectively.

	* evolution-composer.c (get_object): Move getObject functionality
	here from e-msg-composer.c

svn path=/trunk/; revision=7441
2001-01-12 07:09:51 +00:00
c6737bc9e8 Add an ItemContainer Bonobo interface to allow client applications to
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* evolution-composer.c (evolution_composer_construct): Add an
	ItemContainer Bonobo interface to allow client applications to
	locate the Message Composer component.

svn path=/trunk/; revision=7416
2001-01-11 23:20:37 +00:00
05bccea610 New callback to save draft. Fixes bug #1045.
2001-01-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (menu_file_save_draft_cb): New callback to save
	draft. Fixes bug #1045.

svn path=/trunk/; revision=7379
2001-01-11 05:47:56 +00:00
6e49bbc42f Removed more UNSAFE stuff. Maybe we should kill this macro, and have
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* e-msg-composer.c: Removed more UNSAFE stuff.  Maybe we should
	kill this macro, and have people that want these broken things
	define their own macros.

svn path=/trunk/; revision=7359
2001-01-10 07:34:04 +00:00
e41312f0b7 If the headers have changed, then continue with the prompt else just
2001-01-03  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (do_exit): If the headers have changed, then
	continue with the prompt else just destroy the window.

	* e-msg-composer-hdrs.c (init): Initialize has_changed to FALSE.
	(entry_changed): New callback to set the value of has_changed.
	(add_header): Attach the "changed" signal.

svn path=/trunk/; revision=7234
2001-01-03 17:29:40 +00:00
87d3886d23 Use CamelContentType instead of GMimeContentField.
* e-msg-composer.c (handle_multipart_alternative,
	handle_multipart, e_msg_composer_new_with_message): Use
	CamelContentType instead of GMimeContentField.

	* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
	* e-msg-composer-attachment-bar.c (update, attach_to_multipart):
	Use CamelContentType, and use the header_content_type_* functions
	rather than operating on the structure by hand.

svn path=/trunk/; revision=7188
2000-12-28 19:29:09 +00:00
1f9b8f9c4e New function to get whether or not to encrypt the message.
2000-12-15  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_get_pgp_encrypt): New function
	to get whether or not to encrypt the message.
	(e_msg_composer_set_pgp_encrypt): New function to set encryption.
	(e_msg_composer_get_pgp_sign): New function to get whether or not
	to sign the message.
	(e_msg_composer_set_pgp_sign): New function to set pgp_sign.
	(init): Initialize pgp_sign and pgp_encrypt to FALSE.

svn path=/trunk/; revision=7058
2000-12-15 23:14:57 +00:00
2fc0744447 Don't convert the utf-8 string to a gtkstring because the widget expects
2000-12-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (set_entry): Don't convert the utf-8
	string to a gtkstring because the widget expects to get a utf-8
	string.

svn path=/trunk/; revision=6960
2000-12-13 00:58:12 +00:00
ffcec7f3d5 added warnings (prepare_engine): updated to
2000-12-07  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (prepare_engine): added warnings
	(prepare_engine): updated to IDL:GNOME/GtkHTML/Editor/Engine:1.0

	* Makefile.am: renamed HTMLEditor* to Editor*, added Editor-common.c:
	$(HTML_EDITOR_GENERATED) rule

svn path=/trunk/; revision=6838
2000-12-07 19:04:19 +00:00
3c7be1018d Use camel to construct the list of recipients rather than just
2000-12-05  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (add_recipients): Use camel to construct the
	list of recipients rather than just strchr(recips, ',') which is
	very prone to errors.

svn path=/trunk/; revision=6802
2000-12-05 23:10:32 +00:00
042e514a26 return NULL if we can't create a view.
2000-12-04  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (get_control_for_uri): return NULL if we can't
	create a view.
	(setup_evolution_shell_view_interface): add precondition.

+

	lots of cleans.

svn path=/trunk/; revision=6778
2000-12-04 17:56:54 +00:00
81f02f5855 update namespace
2000-11-15  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (prepare_engine): update namespace

svn path=/trunk/; revision=6583
2000-11-15 19:11:32 +00:00
c9cba32d9a updates for HTMLEditor API changes
2000-11-15  Radek Doulik  <rodo@helixcode.com>

	* updates for HTMLEditor API changes

	* e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h>

svn path=/trunk/; revision=6582
2000-11-15 18:47:33 +00:00
c9c591526f e_msg_composer_guess_mime_type renamed and moved
2000-11-15  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.h: e_msg_composer_guess_mime_type renamed and
	moved mime_guess_type_from_file_name from camel as it uses VFS

svn path=/trunk/; revision=6579
2000-11-15 08:45:22 +00:00
97ddd11093 updated to HTMLEditor API changes
2000-11-14  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c: updated to HTMLEditor API changes

	* listener.c: updated to HTMLEditor API changes

svn path=/trunk/; revision=6567
2000-11-14 08:54:58 +00:00
1d3b7827ed set the HTML charset to utf-8 for all the html message parts.
2000-11-10  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): set the HTML charset to utf-8
	for all the html message parts.
	(build_message): make sure we set the proper encoding on the html
	part now that it may contain utf-8 characters

svn path=/trunk/; revision=6534
2000-11-10 19:37:26 +00:00
c13e8b432e (get_signature): added in_html arg, it tells if we should use HTML
signature
	(set_editor_text): try to use HTML signature
	(e_msg_composer_new_with_sig_file): added send_html arg to be able
	to use HTML signature

svn path=/trunk/; revision=6510
2000-11-08 17:31:57 +00:00
f3ec28d123 new function (destroy): use e_msg_composer_clear_inlined_table, destroy
2000-11-08  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (e_msg_composer_clear_inlined_table): new
	function
	(destroy): use e_msg_composer_clear_inlined_table, destroy
	inlined_images hash table

	* listener.c (resolve_image_url): don't add inlined images to
	attachement bar

	* e-msg-composer.c (add_inlined_images): new function, adds
	inlined images to multipart
	(add_inlined_image): helper function, adds one image to multipart
	(build_message): store HTML messages with inlined images to
	multipart/related

	* e-msg-composer-attachment-bar.c (add_from_file): removed
	content_id arg
	(e_msg_composer_attachment_bar_attach): likewise

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	removed content_id arg

svn path=/trunk/; revision=6507
2000-11-08 13:06:58 +00:00
d6b8654b22 set the content type on the plain part of outgoing messages.
2000-11-06  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): set the content type on the
	plain part of outgoing messages.
	(best_content): a helper function to get the best content type for
	the attachment.  This should probably use the helper functions in
	the future.

svn path=/trunk/; revision=6423
2000-11-06 20:52:22 +00:00
7f7c32f6d2 use inline images hash table
2000-11-04  Radek Doulik  <rodo@helixcode.com>

	* listener.c (resolve_image_url): use inline images hash table

	* e-msg-composer.c (init): create inlined images hash table
	(destroy): destroy it
	(clear_inline_images): helper function, used from
	g_hash_table_foreach_remove to destroy one inline image record

	* e-msg-composer.h: added hash table with inlined images url ->
	cid info

2000-11-03  Radek Doulik  <rodo@helixcode.com>

	* listener.c (impl_event): updated for API changed
	implemented image_url event
	(resolve_image_url): new helper function, attaches image to mail
	and returns new (resolved) url pointing to mime component

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	added conponent_id parameter

	* e-msg-composer-attachment-bar.c
	(e_msg_composer_attachment_bar_attach): added parameter content_id
	(add_from_file): likewise

svn path=/trunk/; revision=6390
2000-11-04 10:11:50 +00:00
e7fa8245cc The big api rename ...
2000-11-02  Michael Meeks <michael@helixcode.com>

	* The big api rename ...

svn path=/trunk/; revision=6346
2000-11-02 06:48:34 +00:00
7158b3b00a Don't create the To, Cc, and Bcc lists based only on the address, use both
2000-11-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Don't create
	the To, Cc, and Bcc lists based only on the address, use both the
	name and address and camel_address_encode() them.

svn path=/trunk/; revision=6326
2000-11-01 23:39:09 +00:00
fee9d1b411 better reply editing, uses new HTMLEditor::Engine,Listener interfaces
you need fresh CVS gtkhtml to try that

2000-10-31  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (prepare_engine): new function, tries prepare
	editor engine
	(mark_orig_text): marks original text in editor
	(set_editor_text): call mark_orig_text
	(create_composer): call prepare_engine

	* Makefile.am (IDL_GENERATED): added HTMLEditor generated files to
	IDL_GENERATED
	($(IDL_GENERATED)): generate also files from HTMLEditor.idl
	(libcomposer_la_SOURCES): added listener.[ch]

	* e-msg-composer.h: added editor_engine and editor_listener to
	EMsgComposer

	* listener.[ch]: new files, implementation of HTMLEditor::Listener

svn path=/trunk/; revision=6292
2000-10-31 17:10:42 +00:00
ffe49b7164 Fixed my not-quite-right logic so that we don't accidently set the body
2000-10-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Fixed my
	not-quite-right logic so that we don't accidently set the body
	contents using a plain text attachment instead of the actual body
	of the message :-)

svn path=/trunk/; revision=6236
2000-10-27 19:59:57 +00:00
785e31ee3e Populate the composer with any attachments.
2000-10-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Populate the
	composer with any attachments.

svn path=/trunk/; revision=6197
2000-10-26 03:47:21 +00:00
360675f54b lots of i18n fixes
svn path=/trunk/; revision=6143
2000-10-24 05:23:27 +00:00
220526cd7c Old cruft. Remove.
* e-msg-composer-address-dialog.*, e-msg-composer-address-entry.*:
	Old cruft. Remove.

	* Makefile.am: Update for removed files.

	* e-msg-composer-hdrs.c: Remove e-msg-composer-address-entry.h
	include.

	* e-msg-composer.c: Remove e-msg-composer-address-dialog.h include

svn path=/trunk/; revision=6130
2000-10-23 20:39:28 +00:00
78bdc918f6 kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct):
2000-10-19  Michael Meeks  <michael@helixcode.com>

	* e-msg-composer.c (create_menubar_file, create_menubar_edit),
	(create_menubar_format, create_menubar_view, create_menubar): kill.
	(create_toolbar): die.
	(setup_ui): impl.
	(e_msg_composer_construct): hook in.
	(menu_format_html_cb): update.
	(menu_view_attachments_activate_cb): ditto.
	(destroy): upd.
	(e_msg_composer_construct): upd.
	(e_msg_composer_set_send_html): upd.

svn path=/trunk/; revision=6018
2000-10-19 02:56:53 +00:00
de8246dc8a If the body text was NULL, then don't bother turning it into HTML
2000-10-17  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): If the body
	text was NULL, then don't bother turning it into HTML (besides, it
	causes a nasty segfault).

svn path=/trunk/; revision=5971
2000-10-18 01:09:45 +00:00
bf3ad6810a stop using format_text, gtkhtml handles this now. (format_text): function
2000-10-13  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): stop using format_text,
	gtkhtml handles this now.
	(format_text): function removed.

svn path=/trunk/; revision=5896
2000-10-13 05:09:35 +00:00
ff538f6d29 check to make sure we get a valid response from when calling get_text and
2000-10-10  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): check to make sure we get a
	valid response from when calling get_text and get_html otherwise
	bail out of the build.

svn path=/trunk/; revision=5823
2000-10-10 21:45:24 +00:00
46d07e9e46 If the body of the message has 8-bit chars, set the
2000-10-02  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): If the body of the message has
	8-bit chars, set the Content-Transfer-Encoding type to the best
	encoding.

svn path=/trunk/; revision=5662
2000-10-02 18:33:18 +00:00