From: Murray Cumming Date: Wed, 4 Jul 2007 17:37:38 +0000 (+0000) Subject: 2007-07-04 Murray Cumming X-Git-Tag: git_migration_finished~2960 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=3382c12d1e642af8871ca0a8b95676254f19e574 2007-07-04 Murray Cumming * 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 --- diff --git a/ChangeLog b/ChangeLog index acb6b92..a4f76b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1 +1,7 @@ +2007-07-04 Murray Cumming,,, + + reviewed by: + + * src/modest-tny-account.c: (on_connection_status_changed): + * please check the svn log instead diff --git a/ChangeLog2 b/ChangeLog2 index ee24442..1e5b7ec 100644 --- a/ChangeLog2 +++ b/ChangeLog2 @@ -1,5 +1,11 @@ 2007-07-04 Murray Cumming + * 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 + * 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() diff --git a/src/modest-tny-account.c b/src/modest-tny-account.c index 33c8013..2ea2cb5 100644 --- a/src/modest-tny-account.c +++ b/src/modest-tny-account.c @@ -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); + */ } }