Changeset 2645

Show
Ignore:
Timestamp:
08/15/07 16:09:43
Author:
pvanhoof
Message:

2007-08-15 Philip Van Hoof <pvanhoof@gnome.org>

emission of a connection-change as a Tinymail signal. It seems that
there are various states if being "online" for Conic. You are quite
early notified of being online: sometimes before the dhcp client
managed to fill-in resolv.conf, causing hostname lookup failures as
Tinymail as soon as possible tried to go online. With the five seconds
delay we are hoping that the device will have setup all right by the
time Tinymail attempts to go online. Please monitor this behaviour in
future and review carefully.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r2643 r2645  
    22 
    33        * Improved the TnyMaemoConicDevice a bit 
     4        * Making TnyMaemoConicDevice wait five seconds before proxing the 
     5        emission of a connection-change as a Tinymail signal. It seems that 
     6        there are various states if being "online" for Conic. You are quite 
     7        early notified of being online: sometimes before the dhcp client 
     8        managed to fill-in resolv.conf, causing hostname lookup failures as 
     9        Tinymail as soon as possible tried to go online. With the five seconds 
     10        delay we are hoping that the device will have setup all right by the 
     11        time Tinymail attempts to go online. Please monitor this behaviour in 
     12        future and review carefully. 
    413 
    5142007-08-15  Murray Cumming  <murrayc@murrayc.com> 
  • trunk/libtinymail-maemo/tny-maemo-conic-device.c

    r2643 r2645  
    125125                info->self = g_object_ref (self); 
    126126                info->status = status; 
    127                 g_idle_add_full (G_PRIORITY_DEFAULT, conic_emit_status_idle, 
     127                g_timeout_add_full (G_PRIORITY_DEFAULT, 5000, conic_emit_status_idle, 
    128128                        info, conic_emit_status_destroy); 
    129129