From 9c689fe456b0f393136cd949b7bef74af7bdcf59 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Mon, 22 Aug 2005 09:31:21 +0000 Subject: : (org_gnome_shared_folder_factory) disable shared-folder functionalilty 2005-08-22 Vivek Jain * shared-folder-common.c: (org_gnome_create_option) : (org_gnome_shared_folder_factory) * install-shared.c : (org_gnome_popup_wizard) disable shared-folder functionalilty temporarily, (server doesn't show mails in it) export SHARED_FOLDER if you want to have it svn path=/trunk/; revision=30192 --- plugins/groupwise-features/ChangeLog | 9 +++++++++ plugins/groupwise-features/install-shared.c | 6 +++++- plugins/groupwise-features/share-folder-common.c | 8 ++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) (limited to 'plugins/groupwise-features') diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 0986af4c6e..279e3d2cdf 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,12 @@ +2005-08-22 Vivek Jain + + * shared-folder-common.c: (org_gnome_create_option) + : (org_gnome_shared_folder_factory) + * install-shared.c : (org_gnome_popup_wizard) + disable shared-folder functionalilty temporarily, (server doesn't show + mails in it) + export SHARED_FOLDER if you want to have it + 2005-08-22 Shreyas Srinivasan * proxy.c (org_gnome_proxy): Dont try to connect when the account is diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c index d170182c9f..f5db10d16c 100644 --- a/plugins/groupwise-features/install-shared.c +++ b/plugins/groupwise-features/install-shared.c @@ -183,7 +183,11 @@ org_gnome_popup_wizard (EPlugin *ep, EMEventTargetMessage *target) char *notification; char *start_message; char *buffer = NULL; - + + /* XXX:Remove this when server has a fix to show mails in shared-folder*/ + if (!getenv("SHARED_FOLDER")) + return; + if (!msg) return ; diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c index 645b6385ce..ae334e197d 100644 --- a/plugins/groupwise-features/share-folder-common.c +++ b/plugins/groupwise-features/share-folder-common.c @@ -350,6 +350,10 @@ org_gnome_create_option(EPlugin *ep, EMPopupTargetFolder *t) int i = 0; static int first = 0; + /*XXX: Remove this when server has a fix to show mails in shared-folder*/ + if (!getenv("SHARED_FOLDER")) + return; + if (! g_strrstr (t->uri, "groupwise://")) return ; @@ -402,6 +406,10 @@ org_gnome_shared_folder_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_d EMConfigTargetFolder *target= (EMConfigTargetFolder *)hook_data->config->target; CamelFolder *folder = target->folder; + /*XXX: Remove this when server has a fix to show mails in shared-folder*/ + if (!getenv("SHARED_FOLDER")) + return NULL; + folder_name = g_strdup (folder->full_name); folderuri = g_strdup(target->uri); if (folderuri && folder_name) -- cgit