aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorVivek Jain <jvivek@novell.com>2005-08-10 11:52:58 +0800
committerJain Vivek <jvivek@src.gnome.org>2005-08-10 11:52:58 +0800
commit6b1a18dbb34eae00c668363736532b9b63767bbb (patch)
tree5bbbab5a5fc7e1cef9c0230eeb78e6402f41afa6 /plugins
parentae017be0e316decd4e20694f409a8822f96aba4d (diff)
downloadgsoc2013-evolution-6b1a18dbb34eae00c668363736532b9b63767bbb.tar.gz
gsoc2013-evolution-6b1a18dbb34eae00c668363736532b9b63767bbb.tar.zst
gsoc2013-evolution-6b1a18dbb34eae00c668363736532b9b63767bbb.zip
always use full name for the folder **Fixes #311555
2005-08-10 Vivek Jain <jvivek@novell.com> * share-folder-common.c:(org_gnome_shared_folder_factory) always use full name for the folder **Fixes #311555 svn path=/trunk/; revision=30068
Diffstat (limited to 'plugins')
-rw-r--r--plugins/groupwise-features/ChangeLog6
-rw-r--r--plugins/groupwise-features/share-folder-common.c20
2 files changed, 18 insertions, 8 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index 2a964f52fe..78e6dd60e5 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-10 Vivek Jain <jvivek@novell.com>
+
+ * share-folder-common.c:(org_gnome_shared_folder_factory)
+ always use full name for the folder
+ **Fixes #311555
+
2005-08-06 Sankar P <psankar@novell.com>
* proxy.c: (proxy_dialog_store_widgets_data)
diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c
index 330aa831c7..645b6385ce 100644
--- a/plugins/groupwise-features/share-folder-common.c
+++ b/plugins/groupwise-features/share-folder-common.c
@@ -396,7 +396,6 @@ org_gnome_shared_folder_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_d
gchar *folderuri = NULL;
gchar *account = NULL;
gchar *id = NULL;
- gchar *sub = NULL;
gchar *folder_name = NULL;
EGwConnection *cnc;
ShareFolder *sharing_tab;
@@ -410,15 +409,20 @@ org_gnome_shared_folder_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_d
else
return NULL;
- sub = g_strrstr (folder_name, "/");
- if (sub)
- sub++;
- else
- sub = folder_name;
-
/* This is kind of bad..but we don't have types for all these folders.*/
- if ( !( strcmp (sub, "Mailbox") && strcmp (sub, "Calendar") && strcmp (sub, "Contacts") && strcmp (sub, "Documents") && strcmp (sub, "Authored") && strcmp (sub, "Default Library") && strcmp (sub, "Work In Progress") && strcmp (sub, "Cabinet") && strcmp (sub, "Sent Items") && strcmp (sub, "Trash") && strcmp (sub, "Checklist"))) {
+ if ( !( strcmp (folder_name, "Mailbox")
+ && strcmp (folder_name, "Calendar")
+ && strcmp (folder_name, "Contacts")
+ && strcmp (folder_name, "Documents")
+ && strcmp (folder_name, "Authored")
+ && strcmp (folder_name, "Default Library")
+ && strcmp (folder_name, "Work In Progress")
+ && strcmp (folder_name, "Cabinet")
+ && strcmp (folder_name, "Sent Items")
+ && strcmp (folder_name, "Trash")
+ && strcmp (folder_name, "Checklist"))) {
+
g_free (folderuri);
return NULL;
}