diff options
author | Vivek Jain <jvivek@novell.com> | 2005-08-22 17:31:21 +0800 |
---|---|---|
committer | Jain Vivek <jvivek@src.gnome.org> | 2005-08-22 17:31:21 +0800 |
commit | 9c689fe456b0f393136cd949b7bef74af7bdcf59 (patch) | |
tree | 1488db56e22eb7a62e5f619df07425aa1fb1a7c8 /plugins/groupwise-features | |
parent | b9d5c805bdc409792036d0f7eeef4b545d2d4043 (diff) | |
download | gsoc2013-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')
-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) |