Commit Graph

75 Commits

Author SHA1 Message Date
6dd8aabeee Probably the very last new config dialog ever. (Ha ha). From Anna, based
* mail-config.glade: Probably the very last new config dialog
	ever. (Ha ha). From Anna, based on a story by me.

	* mail-account-gui.c: New code for the new mail-config.glade. This
	abstracts out all of the common code between the account editor
	and the druid. It also handles the spiffy new provider-specific
	config stuff.

	FIXME: The code to check if a service is ok or not is no longer
	there... waiting until the online/offline stuff from the shell
	appears.

	* mail-account-editor.c, mail-config-druid.c: These are much
	smaller now, since most of the interesting bits moved to
	mail-account-gui.c

	* mail-accounts.c: Add an enabled/disabled column/button to
	replace the checkbox that used to be in the editor, because it
	really makes more sense to have it out here. This looks ugly.
	Probably ought to ETable it...
	(load_accounts): Fill in the enabled column.
	(mail_select, mail_unselect): toggle the sensitivity and name of
	the Enable/Disable button appropriately
	(mail_able): Handle the enable/disable button.

	* mail-config.c: Remove reply-to from MailConfigIdentity since it
	didn't belong there (and wasn't being saved anyway).
	(mail_config_check_service): Simplify this a bit. This really
	needs to pop up a dialog with a "connecting..." message and a
	cancel button.

svn path=/trunk/; revision=8971
2001-03-27 05:23:27 +00:00
639d835ec0 New callback to handle a double-click event in the account clist.
2001-03-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_double_click): New callback to handle a
	double-click event in the account clist.
	(construct): Setup the double-click event for the account list.

svn path=/trunk/; revision=8908
2001-03-22 23:31:44 +00:00
5b140dc1c1 set color in html citation
2001-03-20  Radek Doulik  <rodo@ximian.com>

	* mail-tools.c (mail_tool_quote_message): set color in html
	citation

	* mail-config.c: added citation highlighting configuration

	* mail-tools.c (mail_tool_quote_message): use citation
	highlighting

	* mail-display.c (mail_text_write): use citation highlighting

svn path=/trunk/; revision=8848
2001-03-20 16:50:43 +00:00
ad3025ac3d uh, emacs said it didn't save this
svn path=/trunk/; revision=8576
2001-03-07 01:55:41 +00:00
f795b74c58 Disable the NNTP code if NNTP is not enabled. This prevents some runtime
2001-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Disable the NNTP code if NNTP is
	not enabled. This prevents some runtime warnings...

	* mail-config-druid.c: Updated to have a transport auth page.

svn path=/trunk/; revision=8575
2001-03-07 01:55:15 +00:00
944083d8b9 Don't access the active data member of a GtkToggleButton directly - bad
2001-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c: Don't access the `active` data member of a
	GtkToggleButton directly - bad programming, shame on me.

	* mail-account-editor.c: Same here.

	* mail-accounts.c: And here too.

	* mail-callbacks.c (empty_subject_destroyed): And finally here.

	* mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type
	for the multipart. Hmmm, still doesn't wrap correctly. NotZed?
	Ideas?
	(pgp_mime_part_encrypt): Here too.

svn path=/trunk/; revision=8560
2001-03-05 18:25:51 +00:00
5b1ec21060 Confirm thatt he user REALLY wants to delete this account. (news_delete):
2001-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_delete): Confirm thatt he user REALLY
	wants to delete this account.
	(news_delete): Same.

svn path=/trunk/; revision=8398
2001-02-26 22:57:35 +00:00
7cf1665ab8 Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try to
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Construct the PGP Path
	GnomeFileEntry widget.
	(pgp_path_changed): Try to auto-detect which PGP type the binary
	file is based on the basename (yuck).

svn path=/trunk/; revision=8353
2001-02-22 23:09:16 +00:00
c62c751ec8 Yes, I screwed up.
svn path=/trunk/; revision=7832
2001-01-26 00:25:25 +00:00
47e69c05fc GNOME_Evolution_Mail.oafinfo
svn path=/trunk/; revision=7831
2001-01-26 00:10:00 +00:00
f744966790 Added a 3rd page to the account editor to allow users to set their HTML
2001-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.glade: Added a 3rd page to the account editor to
	allow users to set their HTML sending preference and also allow
	them to change their message status timeout.

	* mail-accounts.c (construct): Added handlers for the send-html
	checkbox and for the mark-message-as timeout spinbutton.

svn path=/trunk/; revision=7789
2001-01-24 22:24:44 +00:00
e40e98e0f8 s/filter-driver.h/camel-filter-driver.h/ and update first arg of
* mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and
	update first arg of mail_too_filter_get_folder_func

	* mail-tools.c (mail_tool_filter_get_folder_func): Update first
	arg to CamelFilterDriver *

	* mail-send-recv.c (receive_status):
	* mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/

	* mail-callbacks.c: Remove filter-driver.h include

	* mail-accounts.c: Put the news functions inside #ifdef
	ENABLE_NNTP to prevent warnings about unused statis functions.

	* subscribe-dialog.c (subscribe_folders, unsubscribe_folders,
	subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB.
	(populate_store_list): add a de-constifying cast

svn path=/trunk/; revision=7708
2001-01-22 17:47:28 +00:00
99a779567b Handle NULL source and, while we're at it, transport URLs. Apparently
2001-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (construct): Handle NULL source and, while
	we're at it, transport URLs. Apparently camel_url_new() and/or
	camel-url_free() don't handle NULL input well.

	* mail-accounts.c (load_accounts): Handle NULL source URLs.

svn path=/trunk/; revision=7595
2001-01-17 20:11:36 +00:00
2814203289 only load the news storage if ENABLE_NNTP.
2001-01-16  Chris Toshok  <toshok@helixcode.com>

	* component-factory.c (owner_set_cb): only load the news storage
	if ENABLE_NNTP.

	* mail-accounts.c (construct): if !ENABLE_NNTP, remove the news
	page from the dialog.

svn path=/trunk/; revision=7550
2001-01-16 23:18:17 +00:00
391b625992 Fixed mail_load_storages to make a mini GSList of the account, not the
2001-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (druid_finish): Fixed mail_load_storages to
	make a mini GSList of the account, not the account->source. Oops.

	* mail-accounts.c (news_delete): Updated to use the remove_news()
	function.

	* mail-config.c (mail_config_remove_news): New convenience
	function for removing news accounts.
	(mail_config_remove_account): Pretty much the same thing.

	* mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL
	and use that if it exists, else fall back on the default
	transport.

	* mail-callbacks.c (composer_postpone_cb): Set an
	X-Evolution-Transport header.

svn path=/trunk/; revision=7477
2001-01-13 07:27:01 +00:00
2f0ce375aa Moved to mail-config.glade
2001-01-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.glade: Moved to mail-config.glade

	* mail-accounts.c (construct): Updated to use mail-config.glade.

	* mail-account-editor.c (construct): Updated to use
	mail-config.glade.

	* mail-config-druid.c (construct): Updated to use
	mail-config.glade.

	* mail.h: Added the new mail config headers.

svn path=/trunk/; revision=7351
2001-01-10 03:52:40 +00:00
18c8bea951 For all optionmenu's, set the appropriate 'history'. (keep_mail_check):
2001-01-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-account-editor.c: For all optionmenu's, set the appropriate
	'history'.
	(keep_mail_check): Set the keep-on-server checkbutton sensitivity
	based on whether or not the store is a storage or not.
	(construct): Call keep_mail_check().

	* mail-config-druid.c (incoming_type_changed): Set the
	keep-on-server checkbutton sensitivity based on whether or not the
	store is a storage or not.

	* mail-accounts.c (construct): Make sure the dialog isn't a
	scrunched little thingy.

svn path=/trunk/; revision=7328
2001-01-09 19:29:18 +00:00
2b1d1fdc36 New function to set the password for a given url.
2001-01-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* session.c (mail_session_set_password): New function to set the
	password for a given url.

	* mail-config-druid.c (druid_finish): Don't save the password in
	the source url, instead insert it into the save-password hash.
	(mail_config_druid_get_source_url): Check to make sure the
	authmech isn't "", if it is then don't set the authmech.

	* mail-account-editor.c (apply_changes): Don't save the password
	in the source url, instead insert it into the save-password
	hash. Also check to make sure we don't set an empty string as the
	authmech for the source or transport.

	* mail-accounts.c (mail_default): After reloading the accounts,
	reselect the previously selected account.
	(mail_delete): Same.

	* mail-config-druid.c (druid_cancel): Fixed segfault bug.

svn path=/trunk/; revision=7319
2001-01-09 17:21:34 +00:00
dc5ef3b9a4 Write the config data and reload the accounts list so the "default" tag is
2001-01-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-accounts.c (mail_default): Write the config data and reload
	the accounts list so the "default" tag is relocated.
	(mail_delete): Write the config data here too.

svn path=/trunk/; revision=7314
2001-01-09 06:20:18 +00:00
51bd9ba1bb A bunch of fixes.
2001-01-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c: A bunch of fixes.

	* mail-accounts.c: More fixes...

	* mail-account-editor.c (construct): Reparent the notebook to the
	editor->vbox and set the resize policy.

svn path=/trunk/; revision=7301
2001-01-08 20:05:56 +00:00
35139b2983 Updated to reflect changes to the mail-config API.
2001-01-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-tools.c (mail_tool_quote_message): Updated to reflect
	changes to the mail-config API.

	* mail-display.c (redisplay): Updated to reflect changes to the
	mail-config API.

	* mail-callbacks.c (providers_config): Use the new account dialog.

	* mail-config-druid.c (druid_finish): Load the new storage into
	the shell.
	(mail_config_druid_new): Take a shell argument.

	* mail-format.c (mail_generate_reply): Updated to reflect changes
	to the mail-config API.

	* mail-config-druid.c: Fixed this to build.

	* mail-callbacks.c (check_send_configuration): Updated to reflect
	changes to the mail-config API.
	(create_msg_composer): Same.
	(forward_get_composer): Same.
	(send_queued_mail): Same.
	(composer_send_cb): Same.

	* mail-account-editor.c: Updated to build cleanly.  *
	mail-config-druid.c: Same.  * mail-accounts.c: Same.

	* folder-browser-factory.c (control_activate): Updated for API
	changes in mail-config.

	* folder-browser.c (done_message_selected): Updated for API
	changed in mail-config.
	(folder_browser_gui_init): Same.
	(got_folder): Same.

	* component-factory.c (owner_set_cb): After using the sources
	list, free it as it is no longer a const GSList as with the older
	mail-config code.

	* mail-config.c: Totally rewritten.

svn path=/trunk/; revision=7298
2001-01-08 02:14:23 +00:00
d53b9af629 Updated to reflect changes to the mail-config API. (create_msg_composer):
2001-01-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-callbacks.c (check_send_configuration): Updated to reflect
	changes to the mail-config API.
	(create_msg_composer): Same.
	(forward_get_composer): Same.
	(send_queued_mail): Same.
	(composer_send_cb): Same.

	* mail-account-editor.c: Updated to build cleanly.  *
	mail-config-druid.c: Same.  * mail-accounts.c: Same.

	* folder-browser-factory.c (control_activate): Updated for API
	changes in mail-config.

	* folder-browser.c (done_message_selected): Updated for API
	changed in mail-config.
	(folder_browser_gui_init): Same.
	(got_folder): Same.

	* component-factory.c (owner_set_cb): After using the sources
	list, free it as it is no longer a const GSList as with the older
	mail-config code.

	* mail-config.c: Totally rewritten.

svn path=/trunk/; revision=7294
2001-01-07 23:12:11 +00:00
87e15f2f2b Implemented.
2001-01-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-accounts.c (mail_edit): Implemented.

	* mail-account-editor.c (apply_clicked): Implemented.
	(ok_clicked): Implemented.
	(cancel_clicked): Implemented.
	(source_auth_type_changed): Implemented.
	(source_auth_init): Implemented.
	(transport_construct_authmenu): Implemented.
	(transport_type_changed): Updated to change regenerate the auth
	option menu.
	(construct): Attached callbacks to OK, Apply and Cancel buttons.

	* mail-account-editor.c (source_auth_init): Use the new
	mail_config_check_service().

	* mail-config-druid.c: Remove check_service() as it will be moved
	into mail-config.

svn path=/trunk/; revision=7290
2001-01-07 07:50:04 +00:00
670a2b34ff Coded a bunch of the methods.
2001-01-06  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-account-editor.c: Coded a bunch of the methods.

svn path=/trunk/; revision=7287
2001-01-07 01:02:05 +00:00
61058499ba Since the druid now handles adding the new account to the config, we'll
2001-01-05  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-accounts.c (mail_add): Since the druid now handles adding
	the new account to the config, we'll just connect to the destroy
	event and show the druid.
	(mail_add_finished): Just reload the account list here.

	* mail-config-druid.c (druid_finish): New callback to handle the
	"finish" signal. On second thought, it seems it would be best for
	the finish callback to be here rather than in mail-accounts.c.

	* mail-accounts.[c,h]: Added. Contains source for the Account manager
	window. And just like mail-config-druid.c, it's not yet complete.

	* mail-config-druid.c (mail_config_druid_get_incoming_keep_mail):
	Renamed from _delete_mail
	(mail_config_druid_get_transport_url): New convenience function
	that replaces the get_hostname, get_protocol, etc.
	(mail_config_druid_get_source_url): Same.

	* mail-config-druid.glade: Changed "Delete mail from server" to
	"Keep mail on server" as this has a more positive ring to it. Both
	I and Aaron agree this is the better phrase.

svn path=/trunk/; revision=7275
2001-01-05 21:40:42 +00:00