Filter elements are named 'group' not 'element'.
authorHarish Krishnaswamy <kharish@novell.com>
Mon, 7 Aug 2006 16:51:25 +0000 (16:51 +0000)
committerHarish Krishnaswamy <kharish@src.gnome.org>
Mon, 7 Aug 2006 16:51:25 +0000 (16:51 +0000)
2006-08-07  Harish Krishnaswamy  <kharish@novell.com>

* e-gw-filter.c (append_complex_component):
Filter elements are named 'group' not 'element'.

servers/groupwise/ChangeLog
servers/groupwise/e-gw-filter.c

index e3d9a45..5e698f7 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-07  Harish Krishnaswamy  <kharish@novell.com>
+
+       * e-gw-filter.c (append_complex_component):
+       Filter elements are named 'group' not 'element'.
+
 2006-07-26  Matthew Barnes <mbarnes@redhat.com>
 
        * e-gw-item.h: Add missing function declaration.
index 63271f7..cc8d641 100644 (file)
@@ -150,7 +150,7 @@ append_complex_component (GSList *component_list, SoupSoapMessage *msg)
        if (filter_component->operation == E_GW_FILTER_OP_AND || filter_component->operation == E_GW_FILTER_OP_OR
            ||  filter_component->operation == E_GW_FILTER_OP_NOT ) {
                
-               soup_soap_message_start_element (msg, "element", NULL, NULL);
+               soup_soap_message_start_element (msg, "group", NULL, NULL);
                if (filter_component->operation == E_GW_FILTER_OP_AND)
                        e_gw_message_write_string_parameter (msg, "op", NULL, "and");
                else if (filter_component->operation == E_GW_FILTER_OP_OR) 
@@ -188,7 +188,7 @@ e_gw_filter_append_to_soap_message (EGwFilter *filter, SoupSoapMessage *msg)
  
        priv = filter->priv;
        component_list = priv->component_list;
-   
+
        soup_soap_message_start_element (msg, "filter", NULL, NULL);
        for (; component_list != NULL; component_list = g_slist_next (component_list)) {
                filter_component = (FilterComponent *) (component_list->data);