Commit Graph

54 Commits

Author SHA1 Message Date
65c33efb1b Don't allow an auth-type to be set when saving the service.
2001-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (service_check_supported): Don't allow an
	auth-type to be set when saving the service.
	(mail_account_gui_new): Initialize the source and transport
	provider_type's here so we don't forget to do it when it matters.
	(mail_account_gui_setup): Don't bother setting the provider_type's
	here, they are already set in mail_account_gui_new() now.

svn path=/trunk/; revision=13968
2001-10-23 23:39:07 +00:00
9
69ab21999c Dont translate camel strings. (mail_account_gui_setup): "
2001-10-19    <NotZed@Ximian.com>

        * mail-account-gui.c (build_auth_menu): Dont translate camel strings.
        (mail_account_gui_setup): "

svn path=/trunk/; revision=13810
2001-10-19 22:26:26 +00:00
cb0ed21028 Fix the WM problems related to the folder selection dialog being
out-of-proc.  Now it can be set to be a transient window correctly,
and fakes its WindowGroup hint appropriately.

svn path=/trunk/; revision=13765
2001-10-18 19:58:22 +00:00
fcca68399e Added some more NULL checks.
2001-10-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Added some more NULL checks.

svn path=/trunk/; revision=13418
2001-10-04 19:45:02 +00:00
11c665c925 Use bonobo_ui_component_new_default()', not bonobo_ui_component_new()'.
* e-shell-view.c (e_shell_view_construct): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.

* mail-account-gui.c (launch_signature_editor): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.

* e-msg-composer.c (setup_ui): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.

* gui/dialogs/comp-editor.c (setup_widgets): Use
`bonobo_ui_component_new_default()', not
`bonobo_ui_component_new()'.

svn path=/trunk/; revision=13306
2001-10-02 18:33:34 +00:00
df8634ddc8 Setup the url_hash and url_equal functions for the local provider.
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (mail_local_provider_init): Setup the url_hash and
	url_equal functions for the local provider.

	* mail-account-gui.c (mail_account_gui_save): Add code here to
	check to make sure that the Drafts and Sent folders are pointing
	to valid urls. This is kinda nasty and only really solves the case
	where the user changes, say, his imap server or
	something. Unfortunately we still have the problem where if
	account A's sent/drafts folders point to account B's store and the
	user changes the url for account B.

	* mail-config.c (mail_config_get_account_by_source_url): Use Camel
	to compare the urls rather than using e_url_equal which does all
	sorts of funky shit that may not work in every case.

svn path=/trunk/; revision=13238
2001-09-28 22:38:53 +00:00
f21fc37e3c Only add the account if it doesn't already exist in the config db.
2001-09-20  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Only add the account
	if it doesn't already exist in the config db.

	* mail-config.c (mail_config_find_account): New convenience
	function.

svn path=/trunk/; revision=13039
2001-09-21 02:21:12 +00:00
24364797ef Do not add the account here as this is taken care of in
2001-09-20  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (wizard_finish_cb): Do not add the account
	here as this is taken care of in mail_account_gui_save() since it
	has to be able to set the default account.

	* mail-config.c (mail_config_set_default_account): Don't allow the
	index to become invalid.

	* mail-account-gui.c (mail_account_gui_save): Add the account
	before setting it as the default.

svn path=/trunk/; revision=13037
2001-09-21 00:58:28 +00:00
d79a40783c Set the sensitivity of the buttons correctly
svn path=/trunk/; revision=13029
2001-09-20 23:36:22 +00:00
44968e072f call menu_file_save_error when there is an exception while saving.
2001-09-11  Larry Ewing  <lewing@ximian.com>

	* mail-account-gui.c (menu_file_save_cb): call menu_file_save_error
	when there is an exception while saving.
	(menu_file_save_error): pop up a dialog telling the user the file
	has not been saved.

svn path=/trunk/; revision=12765
2001-09-11 06:02:43 +00:00
1bb96b143e Hide the S/MIME frame if we don't support S/MIME.
2001-09-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_new): Hide the S/MIME frame
	if we don't support S/MIME.

svn path=/trunk/; revision=12743
2001-09-10 20:08:15 +00:00
3aeaca9fa9 Don't save the authmech if the username doesn't exist. Fixes bug #9474.
2001-09-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (save_service): Don't save the authmech if
	the username doesn't exist. Fixes bug #9474.

svn path=/trunk/; revision=12735
2001-09-10 17:17:43 +00:00
4cf66ac5c7 Set the source and transport description labels. (transport_type_changed):
2001-08-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_new): Set the source and
	transport description labels.
	(transport_type_changed): Set the transport description label.
	(source_type_changed): Set the source description label.

	* mail-tools.c (mail_tool_make_message_attachment): Remove
	X-Evolution* headers.
	(mail_tool_remove_xevolution_headers): New function to convenience
	removing the X-Evolution headers.
	(mail_tool_restore_xevolution_headers): New convenience function
	to restore the X-Evolution headers.
	(mail_tool_destroy_xevolution): New function to cleanup the
	structure.
	(mail_tool_forward_message): Remove and restore the X-Evolution
	headers here too.

svn path=/trunk/; revision=12487
2001-08-27 19:28:05 +00:00
56b58a3b64 Eek, let the user create new accounts if old_account == NULL.
2001-08-23  Peter Williams  <peterw@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Eek, let the user create
	new accounts if old_account == NULL.

svn path=/trunk/; revision=12425
2001-08-23 21:42:45 +00:00
e84ebd2e0a Prevent the user from creating two accounts with the same name.
2001-08-22  Peter Williams  <peterw@ximian.com>

	Prevent the user from creating two accounts with the same name.

	* mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount): Abort
	if the account has the same name as another account.

	* mail-account-gui.c (mail_account_gui_save): Don't let the user
	save if the account has the same name as another account.

	* mail-config-druid.c (management_check): Disable the next button
	if the account name is the same as a preexisting account.
	(construct): The only part of 'pages' that was being used was the
	name. 'wizard_pages' now has the callbacks, while 'pages' is just
	an array of char *'s.
	(wizard_finish_cb): Save the account first because that's the
	right way, and try to honor mail_account_gui_save's return value.

	* mail-config.glade: Add a label noting that you're not allowed
	to create two accounts with the same name.

svn path=/trunk/; revision=12384
2001-08-22 15:50:42 +00:00
ecda947f67 Fix the wording on some labels.
Stop hiding the source and transport pages.

svn path=/trunk/; revision=12324
2001-08-20 20:21:46 +00:00
4e60b7d947 Startup assistant stuff
svn path=/trunk/; revision=12145
2001-08-17 04:29:11 +00:00
e86531cbd1 Break most of the functionality into a separate function.
2001-08-13  Peter Williams  <peterw@ximian.com>

	* mail-send-recv.c (mail_autoreceive_setup): Break most of the
	functionality into a separate function.
	(autoreceive_setup_list): Rename of mail_autoreceive_setup that is
	passed a list of accounts.
	(mail_autoreceive_setup_account): New function. Set up a single
	account using autoreceive_setup_account.

	* mail-send-receive.h: Prototype mail_autoreceive_setup_account.

	* mail-account-gui.c (mail_account_gui_save): Instead of setting
	up all accounts, set up only this source with the new
	mail_autoreceive_setup_account.

	* mail-config-druid.c (druid_finish): ... which means we can call
	mail_config_add_account() after the MailConfigAccount has been
	created by mail_account_gui_save() because we no longer need the
	account to be in the list for mail_autoreceive_setup()

	* mail-config.c (mail_config_add_account): ... which means we can
	possibly add a shortcut to the account's sources's Inbox here.
	(maybe_add_shortcut): New function. If the store is a storage, add
	a shortcut to its inbox. Hope that /INBOX exists.
	(add_shortcut_entry): New function. Creates a shortcut if it doesn't
	yet exist.

2001-08-13  Peter Williams  <peterw@ximian.com>

	* mail-account-gui.c (service_complete): Take account of the fact that
	service->path may be NULL (if service is a transport.)

	* mail-config-druid.c (druid_finish): Bleah, bugfix in case the
	account has no source.

svn path=/trunk/; revision=11961
2001-08-13 21:23:04 +00:00
30a405f7dc Fix bug #4523 for good. (save_service): If service->authitem is NULL, then
2001-08-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (build_auth_menu): Fix bug #4523 for good.
	(save_service): If service->authitem is NULL, then the user tried
	to enable authentication but the provider doesn't actually support
	it.

svn path=/trunk/; revision=11905
2001-08-11 00:03:54 +00:00
bfa7f88ced Save the pgp and smime always-sign options.
2001-08-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Save the pgp and
	smime always-sign options.

	* mail-config.c (account_copy): Copy the always-sign options over
	too.

svn path=/trunk/; revision=11841
2001-08-09 19:24:06 +00:00
4baef8309f Try to restore the choice the user had chosen before hitting the "Check
2001-08-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (build_auth_menu): Try to restore the choice
	the user had chosen before hitting the "Check Supported Types"
	button.

	* mail-format.c (write_headers): Removed a no-longer-needed
	g_warning.

svn path=/trunk/; revision=11625
2001-08-03 21:37:00 +00:00
59abc01693 Restore old security settings from the saved configuration. Fixes bug
2001-07-30  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_new): Restore old security
	settings from the saved configuration. Fixes bug #5710.

svn path=/trunk/; revision=11479
2001-07-30 17:34:33 +00:00
32e9b0c202 Now takes a check_supported gboolean argument saying whether or not to
2001-07-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (build_auth_menu): Now takes a
	check_supported gboolean argument saying whether or not to disable
	non-supported authtypes.
	(source_type_changed): Update for build_auth_menu.
	(transport_type_changed): Same.
	(service_check_supported): Pass in TRUE for the disable
	non-supported authtypes to build_auth_menu and also disable
	check-supported button and the authtype menu if we get a NULL
	supported auth list.

svn path=/trunk/; revision=11404
2001-07-25 18:27:47 +00:00
7604a13073 Add new label widgets with a message that SSL isn't supported.
2001-07-24  Peter Williams  <peterw@ximian.com>

	* mail-config.glade: Add new label widgets with a message that SSL
	isn't supported.

	* mail-account-gui.h: Add a new member to the Transport GUI struct
	for the 'SSL is not supported' message.

	* mail-account-gui.c (source_type_changed): Change logic to display
	a message stating that SSL isn't supported if SSL isn't supported.
	(transport_type_changed): Same.
	(mail_account_gui_new): Also load the labels for the the no-SSL
	message.

	* mail-accounts.c (construct): Fix typo.

svn path=/trunk/; revision=11340
2001-07-24 15:33:17 +00:00
c87ef1f0a3 [Simplifying how default account is stored and used internally, fixes
2001-07-18  Jason Leach  <jleach@ximian.com>

	[Simplifying how default account is stored and used internally,
	fixes possabilities of having multiple default accounts and things
	like deleting the current default account]

	* mail-account-gui.c (mail_account_gui_new): Update for new way of
	finding out the default account.
	(mail_account_gui_save): Ditto.

	* mail-accounts.c (load_accounts): Ditto.

	* mail-config-druid.c (make_default_account): Ditto.

	* mail-config.c: Added an int MailConfig::default_account, to be
	used instead of a 'default_account' boolean on each mail account.
	(mail_config_set_default_account_num): New function, facilitates
	things.

	* Mail.idl: removed the Account::default_account boolean.

svn path=/trunk/; revision=11218
2001-07-19 01:25:09 +00:00
82e5cef219 Fix for last change: hide the entire widget, not just the entry.
2001-07-17  Jason Leach  <jleach@ximian.com>

	* mail-account-gui.c (source_type_changed): Fix for last change:
	hide the entire widget, not just the entry.

svn path=/trunk/; revision=11178
2001-07-17 21:25:59 +00:00
91c5bd9e64 Call mail_autoreceive_setup() so that any changes to the list of accounts
2001-07-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Call
	mail_autoreceive_setup() so that any changes to the list of
	accounts will be respected the next time mail is checked.

svn path=/trunk/; revision=11127
2001-07-16 14:24:05 +00:00
4c0874912c fix typo so it compiles
2001-07-09  JP Rosevear  <jpr@ximian.com>

	* mail-account-gui.c (get_focused_widget): fix typo so it compiles

svn path=/trunk/; revision=10946
2001-07-10 03:07:18 +00:00
01b400424b Handle application/pgp using the text/plain handler.
2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (setup_mime_tables): Handle application/pgp using
	the text/plain handler.

	* mail-account-gui.c (get_focused_widget): New function to
	determine which widget is focused.

svn path=/trunk/; revision=10940
2001-07-09 23:56:52 +00:00
439bc7a3ec Handle application/pgp using the text/plain handler.
2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (setup_mime_tables): Handle application/pgp using
	the text/plain handler.

	* mail-account-gui.c (get_sensitive_widget): New function to determine
	which widget is focused.

	* mail-account-editor.c (apply_changes): Not only flip to the
	notebook page that wasn't finished, but also grab the focus of the
	incomplete widget.

	* mail-config-druid.c (source_changed): Grab the focus of the
	incomplete widget.
	(transport_prepare): And here.
	(identity_changed): Here too.

	* mail-account-gui.c (mail_account_gui_identity_complete): Take an
	incomplete argument so we can set which widget is incomplete and
	then the caller can focus it or whatever.
	(service_complete): Same.
	(mail_account_gui_transport_complete): And again here.
	(mail_account_gui_management_complete): And here too.

svn path=/trunk/; revision=10939
2001-07-09 23:55:02 +00:00
88996d839b Take two authtypes lists, "all", and "supported", and make the unsupported
* mail-account-gui.c (build_auth_menu): Take two authtypes lists,
	"all", and "supported", and make the unsupported authtypes grayed
	out in the menu rather than missing.
	(source_type_changed, transport_type_changed,
	service_check_supported): Update build_auth_menu calls.

svn path=/trunk/; revision=10600
2001-06-29 14:49:12 +00:00
a64e5726cd implemented plain saving
2001-06-29  Radek Doulik  <rodo@ximian.com>

	* mail-account-gui.c (menu_file_save_cb): implemented plain saving

2001-06-28  Radek Doulik  <rodo@ximian.com>

	* mail-account-gui.c (load_signature): implemented plain load
	(load_signature): use e_msg_composer_get_signature_html

svn path=/trunk/; revision=10580
2001-06-28 22:01:10 +00:00
22b7bde0f5 signature editor
svn path=/trunk/; revision=10578
2001-06-28 20:37:39 +00:00
550e7d5613 The e_iterator_get() returns a gconstpointer and we need a non-const
2001-06-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-send-recv.c (free_send_data): The e_iterator_get() returns
	a gconstpointer and we need a non-const BonoboControl so cast it.

	* mail-account-gui.c (mail_account_gui_new):
	gui->check_html_signature is GtkToggleButton not a GtkCheckButton.

	* folder-info.c: Added some #include's to supress warnings.

svn path=/trunk/; revision=10574
2001-06-28 20:19:41 +00:00
311491b26b simplified(refactored) signature handling + better support for html
signatures
2001-06-28  Radek Doulik  <rodo@ximian.com>

	* mail-config.c: use new fields everywhere

	* mail-config.h: as below

	* Mail.idl: added html_signature and has_html_signature

svn path=/trunk/; revision=10564
2001-06-28 16:23:55 +00:00
65a3be6b57 Allow user's to "copy" drag & drop rather than just "move".
2001-06-16  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (my_folder_browser_init): Allow user's to
	"copy" drag & drop rather than just "move".

svn path=/trunk/; revision=10258
2001-06-16 22:42:09 +00:00
0d6e9d6a8d Setup default spool location same as for mbox mail retrieval.
2001-06-12  Not Zed  <NotZed@Ximian.com>

        * mail-account-gui.c (source_type_changed): Setup default spool
        location same as for mbox mail retrieval.

svn path=/trunk/; revision=10199
2001-06-12 14:32:13 +00:00
f15bb6a3eb Check that the chain of deferences in gui->account->source->url is safe.
2001-06-06  Jon Trowbridge  <trow@ximian.com>

	* mail-account-gui.c (source_type_changed): Check that the chain
	of deferences in gui->account->source->url is safe.  This was
	causing a segfault when adding a new account if any of the
	existing accounts had their sources set to "None".
	(i.e. gui->account->source == NULL)

	* mail-accounts.c (load_accounts): Check that account->source !=
	NULL before dereferencing it.
	(load_accounts): The selection is cleared when the account clist
	is rebuilt (say after a call to add), but no unselect event is
	emitted.  Yes, the clist is evil.  We work around this by
	explictly calling mail_unselect, our unselect signal handler.
	(Otherwise, the edit and delete buttons remain sensitive and
	accounts_row != 0, but the user can't see which row the dialog
	thinks is selected.)
	(load_news): Check the account->source != NULL before
	dereferencing it.
	(mail_unselect): If an insensitive button in a button box has the
	focus, and if you hit tab, there is a segfault deep inside of gtk.
	This is probably a gtk bug.  We work around it by having the add
	button (which is always sensitive) grab the focus on an unselect.

svn path=/trunk/; revision=10136
2001-06-06 21:09:20 +00:00
dfda76b995 Save the pgp and smime settings. (mail_account_gui_new): Setup the pgp and
2001-06-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Save the pgp and
	smime settings.
	(mail_account_gui_new): Setup the pgp and s/mime page (but disable
	the s/mime frame if we are not compiled with s/mime support).

	* mail-config.c (account_copy): Updated to save extra pgp and
	smime options.
	(account_destroy): Free draft/sent folder info and also the new
	pgp/smime keys.
	(config_read): Read in the pgp and s/mime config options.
	(mail_config_write): Save the account pgp and smime options.

svn path=/trunk/; revision=10084
2001-06-01 22:40:17 +00:00
271fc70bc3 Call build_extra_conf() here too. This is when we REALLY want to call it
2001-06-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (source_type_changed): Call
	build_extra_conf() here too. This is when we REALLY want to call
	it anyway, not on switch-page because then we'd lose any data on
	the Receive Options page if we never switch to that page before
	applying the changes.

	* mail-account-editor.c (construct): Don't connect to the
	switch-page event, instead just call build_extra_conf() here with
	the source->url.

svn path=/trunk/; revision=10082
2001-06-01 18:32:53 +00:00
b9401bbdf4 Split "Other" page into three pages, Display, Composer, and PGP. Add HTML
* mail-config.glade: Split "Other" page into three pages, Display,
	Composer, and PGP. Add HTML image stuff on the Display page and
	default forward style on the Composer page.

	* mail-config.c (mail_config_get_default_forward_style,
	mail_config_set_default_forward_style): User-specified default
	style for forwarding messages.
	(config_read, mail_config_write_on_exit): Deal with forward style.

	* mail-accounts.c: Handle HTML image display options and default
	forward style.

	* mail-callbacks.c (forward): New. Forward in the user-selected
	default style.
	(forward_inline, forward_quoted): Simplify these some. Remove the
	fallback to forward attached when forwarding multiple messages: it
	should just forward the multiple messages inline or quoted in
	those cases. (Which it doesn't yet, but that's a bug.)

	* folder-browser.c (context_menu): Remove "Forward inline" and
	make "Forward" call forward() rather than forward_attached().

	* folder-browser-factory.c: Update command/menu/toolbar/pixmap
	gunk for the "MessageForwardAttached" vs "MessageForward" split.

	* mail-session.c (mail_session_get_type):
	* mail-format.c (format_mime_part):
	* mail-account-gui.c (setup_service): Fix warnings.

svn path=/trunk/; revision=9792
2001-05-14 17:18:03 +00:00
c64eccfe00 Importer changes
svn path=/trunk/; revision=9722
2001-05-08 22:53:41 +00:00
fe36d75cf3 s/HAVE_NSS/HAVE_SSL for the SSL checkbox stuff.
2001-05-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c: s/HAVE_NSS/HAVE_SSL for the SSL checkbox
	stuff.

svn path=/trunk/; revision=9696
2001-05-07 20:32:41 +00:00
546128c8d9 Remove some redundant LIBS variables... purify complained that the command
* Makefile.am (evolution_mail_LDADD): Remove some redundant LIBS
        variables... purify complained that the command line was too
        long. :-}

        * mail-account-gui.c: Plug leaks.

        * mail-display.c (on_url_requested): close the html stream on
        error too.

        * mail-ops.c (fetch_mail_fetch): Move a line around that probably
        doesn't affect anything, but it's correct.

        * session.c (auth_callback): Plug leak.

        * mail-send-recv.c (receive_status): Initialize "now".

svn path=/trunk/; revision=9303
2001-04-13 21:42:26 +00:00
acde780b64 Add prototype for service_changed(). Remove #include
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* mail-account-gui.c: Add prototype for service_changed().
	* message-list.h: Remove #include <gal/e-table/e-tree-simple.h>
	since it doesn't get installed.

svn path=/trunk/; revision=9183
2001-04-04 20:46:14 +00:00
6e08796922 Add a "provider_type" arg to MailAccountGuiService.
* mail-account-gui.c: Add a "provider_type" arg to
	MailAccountGuiService.
	(transport_needs_auth_toggled): Call service_changed if enabling
	the auth pane so the status of the "Check supported types" button
	will be correct.
	(service_check_supported): Use gsvc->provider_type, not
	CAMEL_PROVIDER_STORE.
	(mail_account_gui_new): Pass the transport as the user_data to the
	"changed" signal on transport.hostname, not the store.
	(mail_account_gui_setup): Set up provider_type fields

svn path=/trunk/; revision=9101
2001-04-02 21:00:42 +00:00
57574f0be3 Cleaned up #includes. Remove unneccesary includes of <gnome.h>,
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* *.*: Cleaned up #includes. Remove unneccesary includes of
	<gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more
	fine grained headers where needed. Also marked a bunch of
	strings for translations and added some missing prototypes.

svn path=/trunk/; revision=9025
2001-03-29 20:53:17 +00:00
93bd928590 Update call to camel_url_to_string. (Don't include the params in the
* session.c (auth_callback): Update call to camel_url_to_string.
	(Don't include the params in the password hash table key.)

	* mail-config.c (mail_config_folder_to_cachename): Call
	camel_url_to_string with HIDE_PASSWORD and HIDE_PARAMS so that
	changing URL params doesn't change the cachename.

	* mail-ops.c (add_vtrash_info):
	* mail-local.c (reconfigure_folder_reconfigure):
	* mail-account-gui.c (save_service): Update calls to
	camel_url_to_string.

svn path=/trunk/; revision=9015
2001-03-29 17:36:49 +00:00
ab52415b1b Move the gtk_toggle_button_set_active outside the if.
2001-03-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (setup_service): Move the
	gtk_toggle_button_set_active outside the if.

svn path=/trunk/; revision=8996
2001-03-28 19:42:46 +00:00
b38a35a518 Set up the sent/drafts folder buttons. (folder_picker_clicked): Pop up the
* mail-account-gui.c (mail_account_gui_new): Set up the
	sent/drafts folder buttons.
	(folder_picker_clicked): Pop up the folder selector when sent or
	drafts is clicked.
	(mail_account_gui_save): Save the sent/drafts folders.

	* mail-config.c (account_copy): copy sent/drafts info
	(config_read): read sent/drafts info
	(mail_config_write): write sent/drafts info

	* mail-callbacks.c (composer_send_cb, composer_postpone_cb):
	split out some common code here (and fix inconsistencies). Always
	set headers on the message giving the account name, transport,
	and sent folder to use.

	* mail-ops.c (mail_send_message): If the message has an
	X-Evolution-Account header, use the transport/sent folder info for
	that account (assuming it still exists). Otherwise, if it has
	X-Evolution-Transport and/or X-Evolution-Fcc, use those. If not,
	use the default transport and sent folder.
	FIXME: Falls back silently to the default sent folder if it can't
	open the account-specific one...
	(send_queue_send): remove the X-Evolution-Transport, etc
	processing here, as it gets done by mail_send_message now.
	FIXME: We only sync the default sent folder.

	* component-factory.c (owner_set_cb): While setting up the
	standard folders, also record their URIs.

svn path=/trunk/; revision=8991
2001-03-28 17:48:07 +00:00