[evolution-patches] Exchange connector: Patch for #274066
- From: Sushma Rai <rsushma novell com>
- To: Evolution Patches List <evolution-patches lists ximian com>
- Subject: [evolution-patches] Exchange connector: Patch for #274066
- Date: Fri, 06 May 2005 10:48:40 +0530
Hi,
Even if the account was removed or disabled same warning message was
getting printed.
Please review.
-Sushma.
Index: storage/exchange-config-listener.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/storage/exchange-config-listener.c,v
retrieving revision 1.16
diff -u -p -r1.16 exchange-config-listener.c
--- storage/exchange-config-listener.c 28 Feb 2005 14:57:27 -0000 1.16
+++ storage/exchange-config-listener.c 26 Mar 2005 08:24:30 -0000
@@ -823,8 +823,14 @@ account_removed (EAccountList *account_l
priv->configured_name = NULL;
} else {
/* The account is in use. We can't remove it. */
- e_notice (NULL, GTK_MESSAGE_INFO,
- _("The Exchange account will be removed when you quit Evolution"));
+ if (account->enabled)
+ e_notice (NULL, GTK_MESSAGE_INFO,
+ _("The Exchange account will be removed when you quit Evolution"));
+ else {
+ /* account is disabled, not removed */
+ e_notice (NULL, GTK_MESSAGE_INFO,
+ _("The Exchange account will be disabled when you quit Evolution"));
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]