Fixes #66484 Added a enum variable for the code error User not found error
authorChenthill Palanisamy <pchenthill@novell.com>
Tue, 5 Oct 2004 11:27:30 +0000 (11:27 +0000)
committerChenthill Palanisamy <pchen@src.gnome.org>
Tue, 5 Oct 2004 11:27:30 +0000 (11:27 +0000)
2004-10-04  Chenthill Palanisamy <pchenthill@novell.com>

Fixes #66484
* e-gw-connection.[ch] (EGwConnectionStatus):
Added a enum variable for the code error User not
found error message from the server.
* e-gw-connection.c (e_gw_connection_parse_response_status),
(e_gw_connection_get_error_message):
Added the code 53505 and used the new enum variable.

servers/groupwise/ChangeLog
servers/groupwise/e-gw-connection.c
servers/groupwise/e-gw-connection.h

index 4bccb5d..4105020 100644 (file)
@@ -1,3 +1,13 @@
+2004-10-04  Chenthill Palanisamy <pchenthill@novell.com>
+
+       Fixes #66484
+       * e-gw-connection.[ch] (EGwConnectionStatus):
+       Added a enum variable for the code error User not
+       found error message from the server.
+       * e-gw-connection.c (e_gw_connection_parse_response_status),
+       (e_gw_connection_get_error_message):            
+       Added the code 53505 and used the new enum variable.
+
 2004-10-01  Chenthill Palanisamy <pchenthill@novell.com>
 
        Fixes #62868
index 0cb8a0e..c6c7e7f 100644 (file)
@@ -64,6 +64,7 @@ e_gw_connection_parse_response_status (SoupSoapResponse *response)
        switch (soup_soap_parameter_get_int_value (subparam)) {
        case 0 : return E_GW_CONNECTION_STATUS_OK;
        case 59905 : return E_GW_CONNECTION_STATUS_BAD_PARAMETER;
+       case 53505 : return E_GW_CONNECTION_STATUS_UNKNOWN_USER;
        case 59914: return E_GW_CONNECTION_STATUS_ITEM_ALREADY_ACCEPTED;
                /* FIXME: map all error codes */
        }
@@ -85,6 +86,8 @@ e_gw_connection_get_error_message (EGwConnectionStatus status)
                return _("Invalid response from server");
        case E_GW_CONNECTION_STATUS_OBJECT_NOT_FOUND :
                return _("Object not found");
+       case E_GW_CONNECTION_STATUS_UNKNOWN_USER :
+               return _("Unknown User");
        case E_GW_CONNECTION_STATUS_BAD_PARAMETER :
                return _("Bad parameter");
        case E_GW_CONNECTION_STATUS_OTHER :
index 799d07e..656a1ad 100644 (file)
@@ -60,6 +60,7 @@ typedef enum {
        E_GW_CONNECTION_STATUS_INVALID_OBJECT,
        E_GW_CONNECTION_STATUS_INVALID_RESPONSE,
        E_GW_CONNECTION_STATUS_OBJECT_NOT_FOUND,
+       E_GW_CONNECTION_STATUS_UNKNOWN_USER,
        E_GW_CONNECTION_STATUS_BAD_PARAMETER,
        E_GW_CONNECTION_STATUS_ITEM_ALREADY_ACCEPTED,
        E_GW_CONNECTION_STATUS_OTHER,