2007-08-01 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Wed, 1 Aug 2007 15:16:04 +0000 (15:16 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 1 Aug 2007 15:16:04 +0000 (15:16 +0000)
* src/modest-tny-account-store.c: (modest_tny_account_store_alert):
Handle TNY_ACCOUNT_ERROR_TRY_CONNECT_SERVICE_UNAVAILABLE in the same
way as TNY_ACCOUNT_ERROR_TRY_CONNECT_HOST_LOOKUP_FAILED, showing an
error dialog, instead of ignoring it.

pmo-trunk-r2891

ChangeLog2
src/modest-tny-account-store.c

index 71db947..f33214b 100644 (file)
@@ -1,5 +1,12 @@
 2007-08-01  Murray Cumming  <murrayc@murrayc.com>
 
+       * src/modest-tny-account-store.c: (modest_tny_account_store_alert):
+       Handle TNY_ACCOUNT_ERROR_TRY_CONNECT_SERVICE_UNAVAILABLE in the same 
+       way as TNY_ACCOUNT_ERROR_TRY_CONNECT_HOST_LOOKUP_FAILED, showing an 
+       error dialog, instead of ignoring it.
+
+2007-08-01  Murray Cumming  <murrayc@murrayc.com>
+
        * src/maemo/modest-msg-view-window.c:
        (modest_msg_view_window_get_header),
        (modest_msg_view_window_last_message_selected):
index d9d6f97..1e59eb2 100644 (file)
@@ -1085,6 +1085,7 @@ modest_tny_account_store_alert (TnyAccountStore *self, TnyAccount *account, TnyA
                        break;
                        
                case TNY_ACCOUNT_ERROR_TRY_CONNECT_HOST_LOOKUP_FAILED:
+               case TNY_ACCOUNT_ERROR_TRY_CONNECT_SERVICE_UNAVAILABLE:
                        /* TODO: Show the appropriate message, depending on whether it's POP or IMAP: */
                        g_debug ("%s: Handling GError domain=%d, code=%d (lookup failed), message=%s", 
                                __FUNCTION__, error->domain, error->code, error->message);