diff options
author | Arunprakash <arunp@novell.com> | 2005-07-25 14:12:03 +0800 |
---|---|---|
committer | Ahmed Sarfraaz <sarfraaz@src.gnome.org> | 2005-07-25 14:12:03 +0800 |
commit | e0a96e0f961d1752d52a485101a721a1ec836541 (patch) | |
tree | 6defe049864ed2734152b3552091804f816f550d /plugins/exchange-operations/exchange-operations.c | |
parent | 6d60d66e973a67e417bcf919c830f6ee4db93eec (diff) | |
download | gsoc2013-evolution-e0a96e0f961d1752d52a485101a721a1ec836541.tar.gz gsoc2013-evolution-e0a96e0f961d1752d52a485101a721a1ec836541.tar.zst gsoc2013-evolution-e0a96e0f961d1752d52a485101a721a1ec836541.zip |
Changed the e_notice calls to e_error_run calls. Same. *
2005-07-25 Arunprakash <arunp@novell.com>
* exchange-delegates.c (get_folder_security) (add_button_clicked_cb) (delegates_apply) : Changed the e_notice calls to e_error_run calls.
* exchange-folder-permission.c (create_folder_subscription_dialog) :
Same. * exchange-calendar.c (e_exchange_calendar_commit) : Same.
* exchange-contacts.c (e_exchange_contacts_commit) : Same.
* exchange-folder-subscription.c (create_folder_subscription_dialog) :
Same
* exchange-permissions-dialog.c (exchange_permissions_dialog_new)
(dialog_response) (add_clicked): Same.
* exchange-operations.c (exchange_operations_report_error) : Modified
to report the quota value to the user.
* org-gnome-exchange-operations.error.xml : Added few more
error descriptions needed for the above changes.
svn path=/trunk/; revision=29876
Diffstat (limited to 'plugins/exchange-operations/exchange-operations.c')
-rw-r--r-- | plugins/exchange-operations/exchange-operations.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/exchange-operations/exchange-operations.c b/plugins/exchange-operations/exchange-operations.c index c3e7eb446f..a2f004025f 100644 --- a/plugins/exchange-operations/exchange-operations.c +++ b/plugins/exchange-operations/exchange-operations.c @@ -191,6 +191,7 @@ void exchange_operations_report_error (ExchangeAccount *account, ExchangeAccountResult result) { gchar *error_string; + gchar *quota_value; g_return_if_fail (account != NULL); @@ -212,6 +213,13 @@ exchange_operations_report_error (ExchangeAccount *account, ExchangeAccountResul case EXCHANGE_ACCOUNT_UNKNOWN_ERROR: e_error_run (NULL, error_string, account->exchange_server, NULL); break; + case EXCHANGE_ACCOUNT_QUOTA_RECIEVE_ERROR: + case EXCHANGE_ACCOUNT_QUOTA_SEND_ERROR: + case EXCHANGE_ACCOUNT_QUOTA_WARN: + quota_value = g_strdup_printf ("%d", exchange_account_get_quota_limit (account)); + e_error_run (NULL, error_string, quota_value, NULL); + g_free (quota_value); + break; default: e_error_run (NULL, error_string, NULL); } |