summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2006-06-13 07:15:37 +0000
committerParthasarathi Susarla <saps@src.gnome.org>2006-06-13 07:15:37 +0000
commitaf5647620bf59aa84c08d05dea3576ee2fa2e551 (patch)
tree562ab83de9b75f2df2639d66c93db940e5f9b42f
parentb6b5a649a61d171bff5f128250f6b7654a8b8aa0 (diff)
downloadevolution-data-server-af5647620bf59aa84c08d05dea3576ee2fa2e551.tar.gz
Fixes bug #179075 on bnc set the is_group_item to FALSE only if its a
2006-06-13 Parthasarathi Susarla <sparthasarathi@novell.com> Fixes bug #179075 on bnc * e-gw-item.c (e_gw_item_new_from_soap_parameter): set the is_group_item to FALSE only if its a CALENDAR or TASKS item
-rw-r--r--servers/groupwise/ChangeLog7
-rw-r--r--servers/groupwise/e-gw-item.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/servers/groupwise/ChangeLog b/servers/groupwise/ChangeLog
index 95c1698be..33c492bac 100644
--- a/servers/groupwise/ChangeLog
+++ b/servers/groupwise/ChangeLog
@@ -1,3 +1,10 @@
+2006-06-13 Parthasarathi Susarla <sparthasarathi@novell.com>
+
+ Fixes bug #179075 on bnc
+ * e-gw-item.c (e_gw_item_new_from_soap_parameter):
+ set the is_group_item to FALSE only if its a CALENDAR
+ or TASKS item
+
2006-06-12 Parthasarathi Susarla <sparthasarathi@novell.com>
Fixes bug #166265 on bnc
diff --git a/servers/groupwise/e-gw-item.c b/servers/groupwise/e-gw-item.c
index fba158018..44a555428 100644
--- a/servers/groupwise/e-gw-item.c
+++ b/servers/groupwise/e-gw-item.c
@@ -1945,8 +1945,11 @@ e_gw_item_new_from_soap_parameter (const char *email, const char *container, Sou
else if (!g_ascii_strcasecmp (name, "source")) {
char *value;
value = soup_soap_parameter_get_string_value (child);
- if (!strcmp (value, "personal"))
- is_group_item = FALSE;
+ if (!strcmp (value, "personal")) {
+ if (item->priv->item_type == E_GW_ITEM_TYPE_TASK ||
+ item->priv->item_type == E_GW_ITEM_TYPE_APPOINTMENT)
+ is_group_item = FALSE;
+ }
g_free (value);
} else if (!g_ascii_strcasecmp (name, "link")){
SoupSoapParameter *subparam;