2007-07-04 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Wed, 4 Jul 2007 17:37:38 +0000 (17:37 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 4 Jul 2007 17:37:38 +0000 (17:37 +0000)
* src/modest-tny-account.c: (on_connection_status_changed):
        Do not use tny_device_force_offline() when tinymail says that something
        went wrong with the connection. It seems to report this unnecessarily.

pmo-trunk-r2578

ChangeLog
ChangeLog2
src/modest-tny-account.c

index acb6b92..a4f76b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1 +1,7 @@
+2007-07-04  Murray Cumming,,,  <murrayc@murrayc-desktop>
+
+       reviewed by: <delete if not using a buddy>
+
+       * src/modest-tny-account.c: (on_connection_status_changed):
+
 * please check the svn log instead
index ee24442..1e5b7ec 100644 (file)
@@ -1,5 +1,11 @@
 2007-07-04  Murray Cumming <murrayc@murrayc.com>
 
+       * src/modest-tny-account.c: (on_connection_status_changed):
+       Do not use tny_device_force_offline() when tinymail says that something 
+       went wrong with the connection. It seems to report this unnecessarily.
+
+2007-07-04  Murray Cumming <murrayc@murrayc.com>
+
        * src/maemo/modest-connection-specific-smtp-window.c:
        (modest_connection_specific_smtp_window_init):
        Use gtk_widget_set_size_request(), because gtk_label_set_max_width_chars()
index 33c8013..2ea2cb5 100644 (file)
@@ -184,8 +184,13 @@ on_connection_status_changed (TnyAccount *account, TnyConnectionStatus status, g
                 * When libconic reconnects, it will set the device back online again,
                 * regardless of it being forced offline before.
                 */
+               /* TODO: Find out when this is falsely being emitted. */
+               printf ("  DEBUG: %s: Not forcing offline because tinymail is sometimes reporting false connection breaks.\n", 
+                       __FUNCTION__);
+               /*
                TnyDevice *device = modest_runtime_get_device ();
                tny_device_force_offline (device);
+               */
        }
 }