diff options
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); } |