aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}