aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 46c063305a..bfe5608925 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -69,7 +69,7 @@
#include "mail-mt.h"
#include "mail-tools.h"
-#include "Mail.h"
+#include "Mailer.h"
MailConfigLabel label_defaults[5] = {
@@ -2836,12 +2836,25 @@ impl_GNOME_Evolution_MailConfig_addAccount (PortableServer_Servant servant,
}
static void
+impl_GNOME_Evolution_MailConfig_removeAccount (PortableServer_Servant servant,
+ const CORBA_char *name,
+ CORBA_Environment *ev)
+{
+ MailConfigAccount *account;
+
+ account = (MailConfigAccount *)mail_config_get_account_by_name (name);
+ if (account)
+ mail_config_remove_account (account);
+}
+
+static void
evolution_mail_config_class_init (EvolutionMailConfigClass *klass)
{
POA_GNOME_Evolution_MailConfig__epv *epv = &klass->epv;
parent_class = gtk_type_class (PARENT_TYPE);
epv->addAccount = impl_GNOME_Evolution_MailConfig_addAccount;
+ epv->removeAccount = impl_GNOME_Evolution_MailConfig_removeAccount;
}
static void
id MD5 supportmiwi2011-03-191-1/+0 * - Remove dead master sitepgollucci2010-12-091-2/+1 * - Update to 0.8.6sylvio2010-09-142-4/+4 * - Update to 0.8.5sylvio2010-08-312-5/+4 * - Fix build when defined openssl in make.confsylvio2010-05-251-0/+2 * - Update site of vendorsylvio2010-04-181-1/+1 * - Update to 0.8.4sylvio2010-01-282-4/+4 * - Update my mail address to FreeBSDsylvio2009-11-281-1/+1 * Update to 0.8.2garga2009-09-163-10/+12 * - Update to 0.8.1.araujo2009-08-312-5/+5 * Reset maintainer at his request due to current lack of time.linimon2009-08-281-1/+1 * - Update to 0.8.0beech2009-03-152-4/+4 * - Update to 0.7.5miwi2008-11-232-4/+4 * - Update to 0.7.4beech2008-07-032-4/+4 * - Update to 0.7.2beech2008-04-152-4/+4 * - Update to 0.7.0beech2008-02-182-6/+9 * - Add mirrors (distfiles unavailable).beech2007-12-231-3/+3