aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-07-24 18:26:02 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-07-24 18:26:02 +0800
commit401a1b85c6a5c5988cda3a2075e8320ed1d58daf (patch)
treed7d20f01d96fec5a554f5b905f929d4107a063ee /plugins
parentbaff5e98a4553645813544978825428c864a5c3c (diff)
downloadgsoc2013-evolution-401a1b85c6a5c5988cda3a2075e8320ed1d58daf.tar
gsoc2013-evolution-401a1b85c6a5c5988cda3a2075e8320ed1d58daf.tar.gz
gsoc2013-evolution-401a1b85c6a5c5988cda3a2075e8320ed1d58daf.tar.bz2
gsoc2013-evolution-401a1b85c6a5c5988cda3a2075e8320ed1d58daf.tar.lz
gsoc2013-evolution-401a1b85c6a5c5988cda3a2075e8320ed1d58daf.tar.xz
gsoc2013-evolution-401a1b85c6a5c5988cda3a2075e8320ed1d58daf.tar.zst
gsoc2013-evolution-401a1b85c6a5c5988cda3a2075e8320ed1d58daf.zip
Handling the errors EXCHANGE_ACCOUNT_FOLDER_GC_NOTREACHABLE and
EXCHANGE_ACCOUNT_FOLDER_NO_SUCH_USER. Added an error code folder-no-gc-error and corresponding error string. Fixes #234359. svn path=/trunk/; revision=32403
Diffstat (limited to 'plugins')
-rw-r--r--plugins/exchange-operations/ChangeLog9
-rw-r--r--plugins/exchange-operations/exchange-folder-subscription.c6
-rw-r--r--plugins/exchange-operations/org-gnome-exchange-operations.error.xml5
3 files changed, 20 insertions, 0 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index 014968dc71..e20b955c63 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -1,3 +1,12 @@
+2006-07-24 Sushma Rai <rsushma@novell.com>
+
+ * exchange-folder-subscription.c (subscribe_to_folder): Handling the
+ errors EXCHANGE_ACCOUNT_FOLDER_GC_NOTREACHABLE and
+ EXCHANGE_ACCOUNT_FOLDER_NO_SUCH_USER.
+
+ * org-gnome-exchange-operations.error.xml: Added an error code
+ folder-no-gc-error and corresponding error string. Fixes #234359.
+
2006-07-22 Sushma Rai <rsushma@novell.com>
* exchange-folder-subscription.c (subscribe_to_folder): Checking if a
diff --git a/plugins/exchange-operations/exchange-folder-subscription.c b/plugins/exchange-operations/exchange-folder-subscription.c
index 2c75af875b..19f84d1cdc 100644
--- a/plugins/exchange-operations/exchange-folder-subscription.c
+++ b/plugins/exchange-operations/exchange-folder-subscription.c
@@ -259,6 +259,12 @@ subscribe_to_folder (GtkWidget *dialog, gint response, gpointer data)
case EXCHANGE_ACCOUNT_FOLDER_UNSUPPORTED_OPERATION:
e_error_run (NULL, ERROR_DOMAIN ":folder-unsupported-error", NULL);
break;
+ case EXCHANGE_ACCOUNT_FOLDER_GC_NOTREACHABLE:
+ e_error_run (NULL, ERROR_DOMAIN ":folder-no-gc-error", NULL);
+ break;
+ case EXCHANGE_ACCOUNT_FOLDER_NO_SUCH_USER:
+ e_error_run (NULL, ERROR_DOMAIN ":no-user-error", user_email_address, NULL);
+ break;
case EXCHANGE_ACCOUNT_FOLDER_GENERIC_ERROR:
e_error_run (NULL, ERROR_DOMAIN ":folder-generic-error", NULL);
break;
diff --git a/plugins/exchange-operations/org-gnome-exchange-operations.error.xml b/plugins/exchange-operations/org-gnome-exchange-operations.error.xml
index adbb2010cd..be43a0e57c 100644
--- a/plugins/exchange-operations/org-gnome-exchange-operations.error.xml
+++ b/plugins/exchange-operations/org-gnome-exchange-operations.error.xml
@@ -232,6 +232,11 @@ username, and password, and try again.</_secondary>
<_primary>Unsupported operation</_primary>
</error>
+ <error id="folder-no-gc-error" type="error">
+ <_primary>Global Catalog Server is not reachable</_primary>
+ <_secondary>Please make sure the Global Catalog Sever name is correct.</_secondary>
+ </error>
+
<error id="folder-generic-error" type="error">
<_primary>Generic error</_primary>
</error>