aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/share-folder-common.c
diff options
context:
space:
mode:
authorVivek Jain <jvivek@novell.com>2005-08-22 17:31:21 +0800
committerJain Vivek <jvivek@src.gnome.org>2005-08-22 17:31:21 +0800
commit9c689fe456b0f393136cd949b7bef74af7bdcf59 (patch)
tree1488db56e22eb7a62e5f619df07425aa1fb1a7c8 /plugins/groupwise-features/share-folder-common.c
parentb9d5c805bdc409792036d0f7eeef4b545d2d4043 (diff)
downloadgsoc2013-evolution-9c689fe456b0f393136cd949b7bef74af7bdcf59.tar.gz
gsoc2013-evolution-9c689fe456b0f393136cd949b7bef74af7bdcf59.tar.zst
gsoc2013-evolution-9c689fe456b0f393136cd949b7bef74af7bdcf59.zip
: (org_gnome_shared_folder_factory) disable shared-folder functionalilty
2005-08-22 Vivek Jain <jvivek@novell.com> * 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
Diffstat (limited to 'plugins/groupwise-features/share-folder-common.c')
-rw-r--r--plugins/groupwise-features/share-folder-common.c8
1 files changed, 8 insertions, 0 deletions
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)