[evolution-mapi] Bug #641029 - Be able to disable GAL completely



commit c69d0c8c3c5e52f72eb07071617d5a7872b56faf
Author: Milan Crha <mcrha redhat com>
Date:   Wed Mar 9 15:49:56 2011 +0100

    Bug #641029 - Be able to disable GAL completely
    
    Set /apps/evolution/eplugin/mapi/disable_gal GConf key to true
    to disable GAL completely - it'll be removed from UI the next start.

 .../exchange-mapi-account-listener.c               |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/account-setup-eplugin/exchange-mapi-account-listener.c b/src/account-setup-eplugin/exchange-mapi-account-listener.c
index 418eb97..088c70f 100644
--- a/src/account-setup-eplugin/exchange-mapi-account-listener.c
+++ b/src/account-setup-eplugin/exchange-mapi-account-listener.c
@@ -711,7 +711,7 @@ add_addressbook_sources (EAccount *account, GSList *folders, mapi_id_t trash_fid
 	}
 
 	//Add GAL
-	{
+	if (!gconf_client_get_bool (client, "/apps/evolution/eplugin/mapi/disable_gal", NULL)) {
 		gchar *uri;
 		gboolean is_new_source = FALSE;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]