* src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
Added a sleep(1) in case it helps with bug #66769.
pmo-trunk-r3113
2007-08-28 Murray Cumming <murrayc@murrayc.com>
+ * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
+ Added a sleep(1) in case it helps with bug #66769.
+
+2007-08-28 Murray Cumming <murrayc@murrayc.com>
+
* src/modest-search.c: (on_timeout_check_account_is_online),
(check_and_wait_for_account_is_online):
It is OK for local-folder and mmc accounts to be used when they
g_slice_free (UtilIdleData, data);
- gboolean result = tny_device_is_online (device);
+ const gboolean result = tny_device_is_online (device);
- if (result)
+ 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);
+ }
return result;
}