2007-08-29 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Wed, 29 Aug 2007 09:29:49 +0000 (09:29 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 29 Aug 2007 09:29:49 +0000 (09:29 +0000)
* src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
Removed the sleep(1) experiment because it does not seem to help,
and I should not have checked the experiment in anyway.
The problem is maybe in the TnyAccount connected state - I will
investigate that instead.

pmo-trunk-r3119

ChangeLog2
src/maemo/modest-platform.c

index e5e4104..e5b242d 100644 (file)
@@ -1,3 +1,11 @@
+2007-08-29  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
+       Removed the sleep(1) experiment because it does not seem to help, 
+       and I should not have checked the experiment in anyway.
+       The problem is maybe in the TnyAccount connected state - I will 
+       investigate that instead.
+
 2007-08-28  Murray Cumming  <murrayc@murrayc.com>
 
        * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
index 5901222..bace460 100644 (file)
@@ -1152,10 +1152,6 @@ gboolean modest_platform_connect_and_wait (GtkWindow *parent_window, TnyAccount
        const gboolean result = tny_device_is_online (device);
 
        if (result) {
-               /* Sleep for a moment because libconic seems to report a new connection
-                * before that connection is actually usable.
-                * See projects.maemo.org bug NB#66769. */ 
-               sleep (1); 
                set_account_to_online (account);
        }