aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorShreyas Srinivasan <sshreyas@novell.com>2005-07-10 18:03:56 +0800
committerShreyas Srinivasan <shres@src.gnome.org>2005-07-10 18:03:56 +0800
commit7d9c68cbe5307c661480506c53c6e0c4db56d98e (patch)
tree81b08b8fe0155bbef550a1ac53b4ad57035410f7 /mail/mail-component.c
parent38035659d1d57b512b28b19dc4436609de3d52ca (diff)
downloadgsoc2013-evolution-7d9c68cbe5307c661480506c53c6e0c4db56d98e.tar
gsoc2013-evolution-7d9c68cbe5307c661480506c53c6e0c4db56d98e.tar.gz
gsoc2013-evolution-7d9c68cbe5307c661480506c53c6e0c4db56d98e.tar.bz2
gsoc2013-evolution-7d9c68cbe5307c661480506c53c6e0c4db56d98e.tar.lz
gsoc2013-evolution-7d9c68cbe5307c661480506c53c6e0c4db56d98e.tar.xz
gsoc2013-evolution-7d9c68cbe5307c661480506c53c6e0c4db56d98e.tar.zst
gsoc2013-evolution-7d9c68cbe5307c661480506c53c6e0c4db56d98e.zip
Add new functions to remove proxy accounts and proxies created by the
2005-07-10 Shreyas Srinivasan <sshreyas@novell.com> * mail-config.[ch]: Add new functions to remove proxy accounts and proxies created by the account. * mail-compnent.c: Remove proxy accounts at startup * mail.error.xml: Add warnings for proxy disable and removal of a proxy when its parents are removed. * em-account-prefs.c: Add checks not to display proxies and handling of parent removal/ disabling. svn path=/trunk/; revision=29698
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index ac6453de28..b8aa43d910 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -359,6 +359,7 @@ mc_startup(MailComponent *mc)
started = 1;
mc_setup_local_store(mc);
+ mail_config_prune_proxies ();
load_accounts(mc, mail_config_get_accounts());
vfolder_load_storage();
}
@@ -711,6 +712,7 @@ impl_quit(PortableServer_Servant servant, CORBA_Environment *ev)
{
MailComponent *mc = MAIL_COMPONENT(bonobo_object_from_servant(servant));
+ mail_config_prune_proxies ();
switch (mc->priv->quit_state) {
case MC_QUIT_START: {
int now = time(NULL)/60/60/24, days;