From 7d9c68cbe5307c661480506c53c6e0c4db56d98e Mon Sep 17 00:00:00 2001 From: Shreyas Srinivasan Date: Sun, 10 Jul 2005 10:03:56 +0000 Subject: Add new functions to remove proxy accounts and proxies created by the 2005-07-10 Shreyas Srinivasan * 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 --- mail/mail-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-component.c') 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; -- cgit v1.2.3