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-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-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 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 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-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-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 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 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-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 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 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 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 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-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-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-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-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-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-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-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 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 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 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-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-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-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 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