[evolution/evolution-3-12] Bug 732502 - Ignore get_quota errors in folder properties



commit e21ea088dbc8b1a89752f5432fff1ddf7ba230ab
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jul 1 18:13:26 2014 +0200

    Bug 732502 - Ignore get_quota errors in folder properties

 mail/em-folder-properties.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c
index c41a05e..4fd18ac 100644
--- a/mail/em-folder-properties.c
+++ b/mail/em-folder-properties.c
@@ -480,7 +480,9 @@ emfp_dialog_got_quota_info (CamelFolder *folder,
                g_error_free (error);
                return;
 
-       /* FIXME Add an EAlert for failing to get quota info. */
+       } else if (error != NULL && context->folder != NULL) {
+               g_debug ("%s: Failed to get quota information: %s", G_STRFUNC, error->message);
+               g_clear_error (&error);
        } else if (error != NULL) {
                g_warn_if_fail (context->folder == NULL);
                e_alert_submit (


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]