Commit Graph

983 Commits

Author SHA1 Message Date
667ee75427 Fix a string causing translation problems. Bug #1147.
2001-01-16  Jason Leach  <jasonleach@usa.net>

	* openpgp-utils.c (pgp_get_passphrase): Fix a string causing
	  translation problems.  Bug #1147.

svn path=/trunk/; revision=7534
2001-01-16 14:57:18 +00:00
8b275389fb Comment about how sensitive doesn't work for bonobo set prop
svn path=/trunk/; revision=7529
2001-01-16 05:23:07 +00:00
67be94cbd5 Setup a cancellation handle. (do_fetch_mail): REgister for cancellation
2001-01-16  Not Zed  <NotZed@Ximian.com>

        * mail-ops.c (mail_do_fetch_mail): Setup a cancellation handle.
        (do_fetch_mail): REgister for cancellation here.
        (cleanup_fetch_mail): And unregister for cancellation here.
        (mail_get_message): Add a cancel handle.
        (get_message_get): Register/deregister for cancel.
        (get_message_free): & clean up.

        * mail-mt.c (mail_msg_received): Removed debuggng.

        * mail-callbacks.c (stop_threads): Callback for stopping.

        * folder-browser-factory.c: Add a stop button verb thingy.
        (control_activate): Disable the stop button by default.

svn path=/trunk/; revision=7527
2001-01-16 03:57:24 +00:00
fa62a26528 Change from using filters for date and size to using e_cell_date and
2001-01-15  Christopher James Lahey  <clahey@ximian.com>

	* message-list.c, message-list.h: Change from using filters for
	date and size to using e_cell_date and e_cell_size.  Moved a bunch
	of includes from the message-list.h to the message-list.c.

svn path=/trunk/; revision=7524
2001-01-16 02:13:32 +00:00
41a9a74be4 changed the signature of the property_bag get/set functions
svn path=/trunk/; revision=7499
2001-01-15 08:32:46 +00:00
b2d82f7fb8 Set the default button to `Yes' here.
2001-01-15  Miguel de Icaza  <miguel@ximian.com>

	* mail-callbacks.c (configure_mail): Set the default button to
	`Yes' here.

svn path=/trunk/; revision=7498
2001-01-15 08:11:57 +00:00
b24cb94e37 If the preferred authmech isn't found, default to the first one in the
2001-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (source_auth_init): If the preferred
	authmech isn't found, default to the first one in the list.
	(transport_construct_authmenu): This function already did the
	above but I made it simpler.
	(apply_changes): A number of cleanups.

svn path=/trunk/; revision=7479
2001-01-13 21:50:42 +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
f88c5b4073 Get the X-Evolution-Transport URL and use that if it exists, else fall
2001-01-13  Jeffrey Stedfast  <fejj@ximian.com>

	* 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=7474
2001-01-13 05:59:32 +00:00
771f82cebe don't make the window so wide...
svn path=/trunk/; revision=7473
2001-01-13 05:22:45 +00:00
94f7d58623 Removed GPG_* variables.
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Removed GPG_* variables.

svn path=/trunk/; revision=7472
2001-01-13 04:39:58 +00:00
911b397808 Now takes a 'is_account_data' variable to specify whether the sources is a
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (mail_load_storages): Now takes a
	'is_account_data' variable to specify whether the sources is a
	list of accounts of a list of services. Basically, the only time
	you should pass in FALSE is when you are setting up NNTP storages.
	(add_storage): Now takes a 'name' argument that specifies the name
	to use in the storage.
	(owner_set_cb): Updated to pass TRUE for accounts and FALSE for
	news servers into mail_load_storages.

svn path=/trunk/; revision=7469
2001-01-13 04:23:02 +00:00
e04883fa81 Changed filter_date and filter_size to match the changes in gal.
2001-01-12  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Changed filter_date and filter_size to match the
	changes in gal.

svn path=/trunk/; revision=7466
2001-01-12 22:48:31 +00:00
e1a7e287ec back to the dialogs I made
svn path=/trunk/; revision=7464
2001-01-12 22:24:40 +00:00
da17671fae oops, actually delete mail_config_get_account_by_address
svn path=/trunk/; revision=7462
2001-01-12 22:00:53 +00:00
c650d5467d Anna's dialogs.
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.glade: Anna's dialogs.

	* mail-config.c (mail_config_get_account_by_address):
	Removed. Danw and I decided on setting a X-Evolution-Transport
	header on messages going to the Outbox so we can later guess which
	transport to use when sending it.

	* mail-account-editor.c (apply_changes): Update to some day be
	able to support SSL.
	(construct): Update for Anna's dialogs...

	* subscribe-dialog.c (populate_store_list): Updated to reflect
	past changes to the mail-config API.

svn path=/trunk/; revision=7461
2001-01-12 21:59:42 +00:00
7b02bff821 Get the account by using the new e_msg_composer_get_preferred_account()
2001-01-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-callbacks.c (composer_send_cb): Get the account by using
	the new e_msg_composer_get_preferred_account() function. Also
	check to make sure everything is configured (in case they deleted
	their accounts while composing mail?).

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

svn path=/trunk/; revision=7459
2001-01-12 21:15:36 +00:00
936a6d77dd Add an ::asyncCopyFolder method to the ShellComponent interface. Move
all the message hiding options to the View menu.

svn path=/trunk/; revision=7456
2001-01-12 21:00:21 +00:00
9aab4e5eb9 Add strings for localization
2001-01-12  Miguel de Icaza  <miguel@ximian.com>

	* message-list.c: Add strings for localization

svn path=/trunk/; revision=7447
2001-01-12 08:39:16 +00:00
4cd709cd18 Rename "Save" to "Store search as vFolder".
2001-01-12  Miguel de Icaza  <miguel@ximian.com>

	* folder-browser.c: Rename "Save" to "Store search as vFolder".

svn path=/trunk/; revision=7439
2001-01-12 07:07:36 +00:00
3a2bdee42d Unref the property bag when we are done with it.
2001-01-11  Miguel de Icaza  <miguel@gnu.org>

	* mail-display.c (on_object_requested): Unref the property bag
	when we are done with it.
	(get_embedded_for_component): Moved the code to request the
	embeddable/control to a separate function.

svn path=/trunk/; revision=7436
2001-01-12 05:29:09 +00:00
2f9fd80fc0 New convenience function that I will need later when I redo the composer
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_get_account_by_name): New convenience
	function that I will need later when I redo the composer From
	field.

svn path=/trunk/; revision=7435
2001-01-12 05:27:52 +00:00
6ea77903b1 Update to reflect past changes to the mail-config API.
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_object_requested): Update to reflect past
	changes to the mail-config API.

svn path=/trunk/; revision=7434
2001-01-12 05:17:01 +00:00
11c26426f6 strdup() the key.
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* session.c (mail_session_set_password): strdup() the key.

svn path=/trunk/; revision=7433
2001-01-12 05:12:10 +00:00
0c458b79b4 We don't want to be able to set the reply-to in the config druid.
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (construct): We don't want to be able to set
	the reply-to in the config druid.
	(druid_finish): Don't set a reply-to anymore.
	(mail_config_druid_finalise): Don't unref the providers.

	* mail-config.glade: Took out the Reply-To field in the druid.

svn path=/trunk/; revision=7432
2001-01-12 05:07:43 +00:00
5307a77df1 We don't want to be able to set the reply-to in the config druid.
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (construct): We don't want to be able to set
	the reply-to in the config druid.
	(druid_finish): Don't set a reply-to anymore.
	(mail_config_druid_finalise): Don't unref the providers.

	* mail-config.glade: Took out the Reply-To field in the druid.

svn path=/trunk/; revision=7431
2001-01-12 05:07:00 +00:00
b3cda1c4fa Guess the default MAIL value for MBOX and Maildir files.
2001-01-11  Miguel de Icaza  <miguel@gnu.org>

	* mail-config-druid.c (incoming_type_changed): Guess the default
	MAIL value for MBOX and Maildir files.

svn path=/trunk/; revision=7430
2001-01-12 04:45:01 +00:00
834325ad2b Force finalization of the function before returning fixing the FIXME that
2001-01-11  Miguel de Icaza  <miguel@gnu.org>

	* mail-callbacks.c (configure_mail): Force finalization of the
	function before returning fixing the FIXME that was there.

svn path=/trunk/; revision=7429
2001-01-12 04:25:40 +00:00
7a46e7a66e If the service_check fails, pop-up a warning dialog letting the user know
2001-01-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c (transport_next): If the service_check
	fails, pop-up a warning dialog letting the user know he or she may
	have problems and then let them continue on with their lives.
	(incoming_next): Same (+ jump them over the auth page to the
	transport page).

svn path=/trunk/; revision=7428
2001-01-12 04:11:51 +00:00
f7e2da3380 Eek! Don't destroy the account if the connection fails, duh. This is what
2001-01-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-account-editor.c (apply_changes): Eek! Don't destroy the
	account if the connection fails, duh. This is what is causing the
	segfaults.

svn path=/trunk/; revision=7421
2001-01-12 00:18:07 +00:00
e86c8105a7 Connect to folder_changed as well as message_changed for updating unread
* folder-browser.c (got_folder): Connect to folder_changed as well
	as message_changed for updating unread count

svn path=/trunk/; revision=7420
2001-01-11 23:59:15 +00:00
51205e104c Add Bonobo/ItemContainer as the set of supported interfaces in
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* GNOME_Evolution_Mail.oafinfo: Add Bonobo/ItemContainer as the
	set of supported interfaces in GNOME_Evolution_Mail_Composer
	component.

svn path=/trunk/; revision=7413
2001-01-11 23:14:54 +00:00
90c5d14695 add missing e-unicode.h include
svn path=/trunk/; revision=7408
2001-01-11 21:25:04 +00:00
4f87c4df05 Translate the header name to UTF8.
* mail-format.c (write_field_to_stream): Translate the header name
	to UTF8.

svn path=/trunk/; revision=7403
2001-01-11 19:47:06 +00:00
3aba05329f added a 4-pixel padding between entry boxes
svn path=/trunk/; revision=7381
2001-01-11 06:19:12 +00:00
43f23f54d9 New function that explains to the user why he can't do the action he
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-callbacks.c (configure_mail): New function that explains to
	the user why he can't do the action he requested and then procedes
	to ask if he'd like to configure his accounts now.
	(check_send_configuration): If the user doesn't have configured
	accounts, don't let him continue and call configure_mail().
	(fetch_mail): Same.
	(send_queued_mail): Same.
	(send_receieve_mail): Same.

	* mail-config.c (mail_config_write): Don't save a "is_configured"
	variable. Instead we'll just check to see if we have accounts - if
	yes, then configured == TRUE.
	(mail_config_is_configured): return accounts != NULL.
	(mail_config_get_default_account): Mark the first account as the
	default if none are marked.

svn path=/trunk/; revision=7377
2001-01-11 00:18:40 +00:00
ee65e2a732 Set the sensitivity of the Password label too.
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-account-editor.c (source_auth_type_changed): Set the
	sensitivity of the Password label too.

svn path=/trunk/; revision=7376
2001-01-10 23:08:34 +00:00
28cb7707de New callback to handle when the user hits the "back" button when on the
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c (transport_back): New callback to handle
	when the user hits the "back" button when on the transport
	page. This is needed to handle the case where we don't want to
	show the user the auth page (due to there being no auth choices).
	(incoming_next): If we are going to skip over the auth page, set
	the 'have_auth_page' variable to FALSE.
	(construct): Initialize the have_auth_page to TRUE.

svn path=/trunk/; revision=7375
2001-01-10 22:46:16 +00:00
c8db3edba3 Grab the focus of the first widget that is sensitive.
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c (incoming_type_changed): Grab the focus of
	the first widget that is sensitive.
	(transport_type_changed): Same.
	(identity_prepare): Grab the focus of the name entry.

	* mail-callbacks.c (send_queued_mail): Prevent Federico's segfault.

svn path=/trunk/; revision=7374
2001-01-10 21:54:09 +00:00
18121f04a2 Prevent Federico's segfault.
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-callbacks.c (send_queued_mail): Prevent Federico's segfault.

svn path=/trunk/; revision=7372
2001-01-10 21:27:37 +00:00
8592ae36ae Clear the password entry if it's not allowed. (transport_type_changed):
2001-01-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c (auth_type_changed): Clear the password
	entry if it's not allowed.
	(transport_type_changed): Clear the hostname if it is not allowed
	by the provider type.

	* mail-account-editor.c (transport_type_changed): If the hostname
	is allowed, clear it.

	* mail-config-druid.c (incoming_type_changed): Clear the contents
	of the entry boxes that are not to be used.
	(mail_config_druid_get_source_url): If the text in the entry is
	emptry string, don't set it' contents in the url.

svn path=/trunk/; revision=7369
2001-01-10 20:30:07 +00:00
4d9047b9b0 Remove a debug printf (that crashes Solaris because it usually tries
to printf NULL)

svn path=/trunk/; revision=7364
2001-01-10 16:05:05 +00:00
d2f38078ee Fix proto. (print_preview_msg): Fix proto.
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* mail-callbacks.c (print_msg): Fix proto.
	(print_preview_msg): Fix proto.

	* subscribe-dialog.c: Remove more UNSAFE macros.

svn path=/trunk/; revision=7360
2001-01-10 07:34:41 +00:00
8ae4adc356 Bugfix for #1077: scrollwheel doesn't work while hovering over an
2001-01-09  Jason Leach  <jasonleach@usa.net>

	* mail-display.c (pixmap_press): Bugfix for #1077: scrollwheel
          doesn't work while hovering over an attachment icon.

svn path=/trunk/; revision=7354
2001-01-10 04:43:59 +00:00
424ce09c9f removed old mail-config-gui.* files that are no longer used or needed.
svn path=/trunk/; revision=7353
2001-01-10 03:58:16 +00:00
aa2bbb4380 removed mail-config-druid.glade files
svn path=/trunk/; revision=7352
2001-01-10 03:55:21 +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
70fe2fd985 Change mail_op_forward_event to mail_proxy_event.
* mail-local.c (local_folder_changed_proxy): Change
	mail_op_forward_event to mail_proxy_event.

svn path=/trunk/; revision=7344
2001-01-09 22:57:24 +00:00
ae70268af9 Let the system umask determine the permissions of this file.
2001-01-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (save_messages_save): Let the system umask determine
	the permissions of this file.

svn path=/trunk/; revision=7341
2001-01-09 21:48:23 +00:00
f39b89c39a Gray out the appropriate labels too. (auth_type_changed): And here.
2001-01-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config-druid.c (incoming_type_changed): Gray out the
	appropriate labels too.
	(auth_type_changed): And here.
	(transport_type_changed): Here too...

	* mail-account-editor.c (source_check): Gray out the appropriate
	labels too.
	(transport_type_changed): And here too.

svn path=/trunk/; revision=7340
2001-01-09 21:44:40 +00:00