diff options
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 9 | ||||
-rw-r--r-- | plugins/groupwise-features/install-shared.c | 6 | ||||
-rw-r--r-- | plugins/groupwise-features/share-folder-common.c | 8 |
3 files changed, 22 insertions, 1 deletions
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 <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 + 2005-08-22 Shreyas Srinivasan <sshreyas@novell.com> * 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) |