Commit Graph

159 Commits

Author SHA1 Message Date
2d8b087e44 Added a pixcache array for special pixmaps to use in the composer.
2001-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Added a pixcache array for special pixmaps to
	use in the composer.
	(setup_ui): Set the pixcache.

svn path=/trunk/; revision=10539
2001-06-27 20:39:33 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
49ccbcf14e Emit the POSTPONE signal if we are offline. (setup_ui): If we are offline,
2001-06-21  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (menu_file_send_cb): Emit the POSTPONE signal
	if we are offline.
	(setup_ui): If we are offline, change the Control+Enter accel to
	be on the SendLater menu item.

svn path=/trunk/; revision=10372
2001-06-21 18:35:24 +00:00
1d48ee9a8b Save the formatting preference for this message draft using a
2001-06-20  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (save_draft): Save the formatting preference
	for this message draft using a X-Evolution-Format header.
	(e_msg_composer_new_with_message): Restore the format editing
	preference and also remove any other X-Evolution-* headers that we
	may have set.

svn path=/trunk/; revision=10348
2001-06-20 20:49:10 +00:00
85698a3ff5 Don't define the drop_types here. (drag_data_received): Implement
2001-06-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (e_msg_composer_construct): Don't define the
	drop_types here.
	(drag_data_received): Implement message/rfc822 dnd drop type
	handling.

svn path=/trunk/; revision=10295
2001-06-19 18:46:47 +00:00
e3258e5bd7 Fix again... don't leave *encoding uninitialized in the US-ASCII case.
* e-msg-composer.c (best_charset): Fix again... don't leave
	*encoding uninitialized in the US-ASCII case.

svn path=/trunk/; revision=10193
2001-06-11 22:31:54 +00:00
df452e3589 Rearranged gtk_widget_show()s a bit to fix Bug#3204. The composer is now
2001-06-11  Jon Trowbridge  <trow@ximian.com>

	* e-msg-composer.c (e_msg_composer_construct): Rearranged
	gtk_widget_show()s a bit to fix Bug#3204.  The composer is now
	(like the rest of Evo) properly network transparent.

svn path=/trunk/; revision=10191
2001-06-11 21:56:05 +00:00
1cb2bd29be When saving a draft, attach information about the From: identity via
2001-06-08  Jon Trowbridge  <trow@ximian.com>

	* e-msg-composer.c (save_draft): When saving a draft, attach
	information about the From: identity via X-Evolution-Account.
	This lets us select the correct identity when we edit it later.
	(e_msg_composer_new_with_message): If the message we are editting
	is tagged with an account (via X-Evolution-Account), make sure
	that the composer chooses that account's identity by default.

svn path=/trunk/; revision=10161
2001-06-08 20:00:54 +00:00
1921719e0f Don't use the default charset if the message is US-ASCII.
* e-msg-composer.c (best_charset): Don't use the default charset
	if the message is US-ASCII.

svn path=/trunk/; revision=10157
2001-06-08 17:50:24 +00:00
30cd3d3957 just set sig_file field, but don't actualy insert signature, it will be
2001-06-07  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (e_msg_composer_new_with_sig_file): just set
	sig_file field, but don't actualy insert signature, it will be
	done by format menu item callback
	(e_msg_composer_set_body_text): don't set signature here

svn path=/trunk/; revision=10142
2001-06-07 11:07:04 +00:00
f29afac4e6 If user is trying to sign his/her message, try first to use the key that
2001-06-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): If user is trying to sign
	his/her message, try first to use the key that they might have
	provided in their account settings. If that was never set, default
	to their email address. Also respect their config option to
	encrypt-to-self.

svn path=/trunk/; revision=10103
2001-06-02 21:07:44 +00:00
9d1e57701a Oops. Fix a few compile problems.
2001-05-31  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Oops. Fix a few compile problems.

svn path=/trunk/; revision=10076
2001-05-31 23:20:54 +00:00
097a78bccf Fixed up the S/MIME signing/encrypting code to work with the new API.
2001-05-31  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Fixed up the S/MIME
	signing/encrypting code to work with the new API.

svn path=/trunk/; revision=10069
2001-05-31 21:07:51 +00:00
d680763eba Add a missing iconv_close
* e-msg-composer.c (best_encoding): Add a missing iconv_close

svn path=/trunk/; revision=10060
2001-05-31 15:56:02 +00:00
fc68923b11 Use the config-specified default character set (which in turn defaults to
* e-msg-composer.c (build_message): Use the config-specified
	default character set (which in turn defaults to the locale
	character set) as the default for encoding non-US-ASCII messages,
	assuming it works. Fall back to camel_charset_best() if it fails.
	Also, pick the Content-Transfer-Encoding based on how the data
	looks in the destination charset, not in UTF8.

	While I was here, I also refactored a bunch and tried to reduce
	redundant code. There are still too many places that set the
	transfer-encoding on the plaintext part though... Also, I think
	some more cleanliness could happen if the sign/encrypt interfaces
	returned CamelMultiparts instead of CamelMimeParts.

svn path=/trunk/; revision=10058
2001-05-30 22:05:36 +00:00
cd3efd875d (menu_edit_delete_all_cb): be more careful about text color and
style

svn path=/trunk/; revision=9965
2001-05-24 18:39:57 +00:00
a0c112f4dc Populate the extra_hdr_* arrays with any non-special-case headers.
2001-05-24  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Populate the
	extra_hdr_* arrays with any non-special-case headers.
	(is_special_header): New convenience function to determine if a
	header is a "special" header or not.

svn path=/trunk/; revision=9963
2001-05-24 17:27:51 +00:00
9da50381ab new callback (menu_edit_delete_all_cb): set orig to 0 too
2001-05-24  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (menu_edit_delete_all_cb): new callback
	(menu_edit_delete_all_cb): set orig to 0 too

svn path=/trunk/; revision=9961
2001-05-24 14:51:08 +00:00
6245eada6f new callback
2001-05-24  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (menu_edit_delete_all_cb): new callback

svn path=/trunk/; revision=9959
2001-05-24 14:42:19 +00:00
e060e9b60c set orig to 0
2001-05-23  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (e_msg_composer_set_sig_file): set orig to 0

svn path=/trunk/; revision=9943
2001-05-23 11:33:06 +00:00
7dac398365 Draft messages should be marked read.
* e-msg-composer.c (save_draft): Draft messages should be marked
	read.

svn path=/trunk/; revision=9871
2001-05-17 18:50:09 +00:00
1849ce6cd2 Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt.
2001-05-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Added S/MIME sign/encrypt code.
	(init): Initalize smime_sign/encrypt.
	(e_msg_composer_get_smime_encrypt): new
	(e_msg_composer_set_smime_encrypt): new
	(e_msg_composer_get_smime_sign): new
	(e_msg_composer_set_smime_sign): new
	(menu_security_smime_sign_cb): new
	(menu_security_smime_encrypt_cb): new
	(setup_ui): Setup the UI for S/MIME stuff.

svn path=/trunk/; revision=9858
2001-05-16 21:52:49 +00:00
f6f8e3c3e8 If we are creating a message with only a single part (ie no attachments
2001-05-10  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): If we are creating a message
	with only a single part (ie no attachments and we will not be
	signing/encrypting the part) then `part = CAMEL_MIME_PART(message)`
	otherwise create a new MIME part and set it's content-object as the
	message's content-object at a later date.

svn path=/trunk/; revision=9749
2001-05-10 20:43:50 +00:00
ffea73e2e6 Don't wrap content-id with brackets here as it is now done internally in
2001-05-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (add_inlined_image): Don't wrap content-id with
	brackets here as it is now done internally in camel.

svn path=/trunk/; revision=9736
2001-05-09 21:50:55 +00:00
57546880c8 signature editing fixes
* signature editing fixes

2001-05-03  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (get_signature_html): put signature in 100%
	width table
	(delete_old_signature): look only for first flow with signature == 1
	(e_msg_composer_new): don't insert <BR>
	(e_msg_composer_new_with_sig_file): ditto
	(delete_old_signature): don't delete whole signature paragraph,
	but just it's content
	(delete_old_signature): if signature isn't found, insert new empty
	paragraph to end of document for new signature
	(e_msg_composer_set_sig_file): delete signature always
	(e_msg_composer_set_sig_file): don't place signature to the end of
	document, but place it where previous one was (if there wasn't
	then new one is appended to the document)

2001-05-02  Radek Doulik  <rodo@ximian.com>

	* listener.c (impl_event): do automagic indenting only when
	in_signature_insert is FALSE

	* e-msg-composer.c (e_msg_composer_set_sig_file): do indent-zero
	before signature inserting
	(e_msg_composer_set_sig_file): use in_signature_insert flag

2001-05-01  Radek Doulik  <rodo@ximian.com>

	* listener.c (impl_event): set signature to 0 in newly created
	empty paragraphs
	(clear_signature): new helper function

svn path=/trunk/; revision=9658
2001-05-03 19:34:28 +00:00
89c5aea7a6 block/unblock redraw
2001-04-25  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (e_msg_composer_set_send_html): block/unblock
	redraw

svn path=/trunk/; revision=9564
2001-04-25 17:06:45 +00:00
0f25a90781 signature changing
* signature changing

2001-04-25  Radek Doulik  <rodo@ximian.com>

        * listener.c (impl_event): reflect object data type change

        * e-msg-composer.c (get_sig_file_content): renamed from
        get_signature
        (get_signature_html): new helper function, uses
        get_sig_file_content
        (set_editor_text): removed signature parameters
        (from_changed_cb): new signal handler, sets signature by identity
        change
        (delete_old_signature): new function, deletes old signature from
        the document
        (e_msg_composer_set_sig_file): new method, set's signature
        filename
        (e_msg_composer_mark_text_orig): removed (obsolete)

        * e-msg-composer-hdrs.c: added signal FROM_CHANGED

svn path=/trunk/; revision=9557
2001-04-25 09:31:56 +00:00
adb3761ed6 Set window_icon of the Composer window to be compose-message.png
svn path=/trunk/; revision=9489
2001-04-21 20:20:34 +00:00
7729c3ca47 Use the mail-crypto pgp-mime wrappers. (build_message):
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Use the mail-crypto pgp-mime
	wrappers.
	(build_message): s/CAMEL_PGP_HASH_TYPE_SHA1/CAMEL_CIPHER_HASH_SHA1

svn path=/trunk/; revision=9285
2001-04-12 21:27:55 +00:00
fabdba6f1c Use the mail-crypto pgp-mime wrappers.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Use the mail-crypto pgp-mime
	wrappers.

svn path=/trunk/; revision=9268
2001-04-12 17:11:45 +00:00
0fa93ae9cf Change into the user's home dir before opening the filesel.
2001-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (create_file_selection): Change
	into the user's home dir before opening the filesel.

svn path=/trunk/; revision=9242
2001-04-11 16:47:11 +00:00
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