remove env check GROUPWISE_SHARED_FOLDER to enable shared folder
authorVivek Jain <jvivek@novell.com>
Mon, 3 Oct 2005 06:30:55 +0000 (06:30 +0000)
committerJain Vivek <jvivek@src.gnome.org>
Mon, 3 Oct 2005 06:30:55 +0000 (06:30 +0000)
2005-09-30 Vivek Jain <jvivek@novell.com>

* camel-groupwise-store.c: (get_folder_info)
remove env check GROUPWISE_SHARED_FOLDER
to enable shared folder functionality

camel/providers/groupwise/ChangeLog
camel/providers/groupwise/camel-groupwise-store.c

index ed98102..b65177d 100644 (file)
@@ -1,3 +1,9 @@
+2005-09-30 Vivek Jain <jvivek@novell.com>
+       
+       * camel-groupwise-store.c: (get_folder_info)
+       remove env check GROUPWISE_SHARED_FOLDER
+       to enable shared folder functionality
+
 2005-09-28  Sankar P  <psankar@novell.com>
 
        * camel-groupwise-folder.c (groupwise_refresh_folder):
index 18a9402..28e9a66 100644 (file)
@@ -713,14 +713,11 @@ convert_to_folder_info (CamelGroupwiseStore *store, EGwContainer *container, con
        /*name_hash returns the container id given the name */
        g_hash_table_insert (priv->name_hash, g_strdup(fi->full_name), g_strdup(id));
 
-       /*XXX: Remove this condition check when server has a fix to show mails in shared-folder*/
-       if (getenv("GROUPWISE_SHARED_FOLDER")) {
-               if (e_gw_container_get_is_shared_to_me (container))
-                       fi->flags |= CAMEL_FOLDER_SHARED_TO_ME;
+       if (e_gw_container_get_is_shared_to_me (container))
+               fi->flags |= CAMEL_FOLDER_SHARED_TO_ME;
 
-               if (e_gw_container_get_is_shared_by_me (container))
-                       fi->flags |= CAMEL_FOLDER_SHARED_BY_ME;
-       }
+       if (e_gw_container_get_is_shared_by_me (container))
+               fi->flags |= CAMEL_FOLDER_SHARED_BY_ME;
 
        if (type == E_GW_CONTAINER_TYPE_INBOX) {
                fi->total = -1;