Commit Graph

207 Commits

Author SHA1 Message Date
2350726ebb Set the default argument to
2001-02-06  Christopher James Lahey  <clahey@ximian.com>

	* e-msg-composer-hdrs.c (address_button_clicked_cb, add_header):
	Set the default argument to
	GNOME_Evolution_Addressbook_SelectNames_activateDialog correctly.

svn path=/trunk/; revision=8018
2001-02-06 15:24:00 +00:00
292149afa5 make sure we convert from utf-8 before creating the option menu items.
2001-01-30  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer-hdrs.c (create_optionmenu): make sure we convert
	from utf-8 before creating the option menu items.

svn path=/trunk/; revision=7908
2001-01-30 10:23:18 +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
6269637d72 (Fix #1222: doing File->New->Mail Message doesn't include .sig)
2001-01-20  Jason Leach  <jasonleach@usa.net>

	(Fix #1222: doing File->New->Mail Message doesn't include .sig)

	* evolution-composer.c (init): Get the users account information,
	  see if they've specified a sig file, if they do, create a
	  composer with that sig.

svn path=/trunk/; revision=7686
2001-01-21 21:08:38 +00:00
5dfe74f610 Use "Full Name <address>" for the label in the menu rather than the
2001-01-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (create_optionmenu): Use "Full Name
	<address>" for the label in the menu rather than the account
	name. Specify the account name only if it's not the same as the
	address.

svn path=/trunk/; revision=7652
2001-01-19 21:07:33 +00:00
62a2dc7c2e (Adding a boolean "entry_changed" BonoboPropertyBag arg)
2001-01-19  Jason Leach  <jasonleach@usa.net>

	(Adding a boolean "entry_changed" BonoboPropertyBag arg)

	* gui/component/select-names/e-select-names-bonobo.c
	(entry_set_property_fn): Use a gtk_object_set_data to set the
	property to TRUE here.

	(entry_changed): New function, calls bonobo_control_set_property
	if entry_changed hasn't been set to TRUE yet.

	(impl_SelectNames_get_entry_for_section): Connect "changed" on
	each entry_widget to the new entry_changed() func.

2001-01-19  Jason Leach  <jasonleach@usa.net>

	* e-msg-composer-hdrs.c (create_addressbook_entry): Listen for
	property bag changes to "entry_changed" on here, which means on
	the To, Cc, and Bcc entries.
	(addressbook_entry_changed): New function that gets called when
	"entry_changed" property is changed (to TRUE).

svn path=/trunk/; revision=7649
2001-01-19 15:58:02 +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
6550161230 Make the composer a standard library, not a libtool one. Nobody ever uses
2001-01-12  Miguel de Icaza  <miguel@gnu.org>

	* Makefile.am: Make the composer a standard library, not a libtool
	one.  Nobody ever uses it as a shared library and it is not
	installed.

svn path=/trunk/; revision=7612
2001-01-18 05:23:54 +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
74325ce55b Add a "Send as:" option on the edit attachment dialog.
svn path=/trunk/; revision=7594
2001-01-17 20:09:52 +00:00
2e8306e07b comment out for now to ease compat issues. (evolution_composer_construct):
2001-01-17  Michael Meeks  <michael@helixcode.com>

	* evolution-composer.c (enum_objects): comment out for now
	to ease compat issues.
	(evolution_composer_construct): pass in NULL for the item
	handler enum_objects fn + calm warning.

svn path=/trunk/; revision=7584
2001-01-17 17:24:56 +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
e6e01382c0 Ximianified email addresses.
2001-01-17  Federico Mena Quintero  <federico@ximian.com>

	* e-icon-list.[ch]: Ximianified email addresses.

svn path=/trunk/; revision=7572
2001-01-17 10:46:35 +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
cab9d633da (Plug leaking the subject string on each message sent)
2001-01-15  Jason Leach  <jasonleach@usa.net>

	(Plug leaking the subject string on each message sent)

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_subject): Don't
	strdup before returning the subject, it's already been strdup'd
	from the gtk_object_get().

svn path=/trunk/; revision=7516
2001-01-15 22:54:18 +00:00
d223e02dc7 (Fix Bug #1083: Composer IDLs not getting installed)
2001-01-13  Jason Leach  <jasonleach@usa.net>

	    (Fix Bug #1083: Composer IDLs not getting installed)

	    * Makefile.am: add @idl and @idl_DATA vars.

svn path=/trunk/; revision=7476
2001-01-13 07:06:57 +00:00
fd1561b07e Oops. Make sure to attach the item to the menu ;-)
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (create_optionmenu): Oops. Make sure to
	attach the item to the menu ;-)

svn path=/trunk/; revision=7463
2001-01-12 22:09:57 +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
07340ec35b Update .cvsignore
svn path=/trunk/; revision=7443
2001-01-12 07:23:38 +00:00
969e190c9e Small moniker update
svn path=/trunk/; revision=7442
2001-01-12 07:23:17 +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
c9246a157e Only set the popdown strings if we have anything to popdown.
2001-01-11  Miguel de Icaza  <miguel@ximian.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Only set the
	popdown strings if we have anything to popdown.

svn path=/trunk/; revision=7425
2001-01-12 03:34:44 +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
20b3bc147c Updated for new config code - this time it works!
2001-01-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Updated for new
	config code - this time it works!

svn path=/trunk/; revision=7312
2001-01-09 03:28:51 +00:00
6054c6897b Reverted back to old config code temporarily until I get the new config
2001-01-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Reverted back to
	old config code temporarily until I get the new config code
	working 100%.

svn path=/trunk/; revision=7304
2001-01-08 20:44:58 +00:00
0dae964dba reenabled magic indentation
svn path=/trunk/; revision=7300
2001-01-08 09:08:34 +00:00
29b221b315 Updated to reflect changes to the mail-config API.
2001-01-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Updated to
	reflect changes to the mail-config API.

svn path=/trunk/; revision=7299
2001-01-08 02:19:48 +00:00
80aa9c98e1 disable indenting for now, it crashes editor
2001-01-05  Radek Doulik  <rodo@helixcode.com>

	* listener.c (impl_event): disable indenting for now, it crashes
	editor

svn path=/trunk/; revision=7274
2001-01-05 21:37:17 +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
a8b13bc044 Use header_content_type_simple, not header_content_type_format.
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
	* e-msg-composer-attachment-bar.c (update): Use
	header_content_type_simple, not header_content_type_format.

svn path=/trunk/; revision=7215
2001-01-02 19:34:03 +00:00
45f3b8b6e0 Call e_utf8_to_gtk_string on the combobox strings.
* e-msg-composer-hdrs.c (create_dropdown_entry): Call
	e_utf8_to_gtk_string on the combobox strings.

svn path=/trunk/; revision=7208
2001-01-02 14:17:57 +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
68d4a4cc40 Made it so that carriage return doesn't insert a newline in the subject
2000-12-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-msg-composer-hdrs.c (add_header): Made it so that carriage
	return doesn't insert a newline in the subject entry.

svn path=/trunk/; revision=7024
2000-12-14 19:52:24 +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
a0cef09a6f Add $(IDLS). (From campd.)
* Makefile.am (EXTRA_DIST): Add $(IDLS). (From campd.)

svn path=/trunk/; revision=6949
2000-12-12 23:07:48 +00:00
1dd2597727 psst
svn path=/trunk/; revision=6839
2000-12-07 19:04:50 +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
622ea8d512 debug printf
svn path=/trunk/; revision=6650
2000-11-22 14:26:20 +00:00
f69d5ec143 Big patch. Evolution-services rewrite, services updated for new system,
Big patch.
Evolution-services rewrite, services updated for new system, Fixes to
Executive Summary and other things. See some changelogs

svn path=/trunk/; revision=6644
2000-11-22 00:34:39 +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
6f4d56f965 rename command to runCommand
2000-11-14  Radek Doulik  <rodo@helixcode.com>

	* listener.c (reply_indent): rename command to runCommand

svn path=/trunk/; revision=6568
2000-11-14 08:59:06 +00:00