Changeset 3599
- Timestamp:
- 04/18/08 11:45:57
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-maemo/tny-maemo-conic-device.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r3597 r3599 1 2008-04-18 Jose Dapena Paz <jose@gondomar.wired.citic.igalia.com> 2 3 * libtinymail-maemo/tny-maemo-conic-device.c: add a simple hack to 4 detect when we cancel the connection dialog (and then report this 5 properly). 6 1 7 2008-04-18 Philip Van Hoof <pvanhoof@gnome.org> 2 8 trunk/libtinymail-maemo/tny-maemo-conic-device.c
r3591 r3599 265 265 HandleConnInfo *iinfo; 266 266 int con_err, con_state; 267 const gchar *event_iap_id; 267 268 268 269 /* we don't need cnx in this function */ … … 280 281 con_err = con_ic_connection_event_get_error (event); 281 282 con_state = con_ic_connection_event_get_status (event); 283 event_iap_id = con_ic_event_get_iap_id ((ConIcEvent *) event); 282 284 283 285 switch (con_err) { … … 300 302 case CON_IC_STATUS_CONNECTED: 301 303 g_free (priv->iap); 302 priv->iap = g_strdup ( con_ic_event_get_iap_id ((ConIcEvent*)(event)));304 priv->iap = g_strdup (event_iap_id); 303 305 if (!priv->is_online) 304 306 emit = TRUE; … … 313 315 if (priv->is_online) 314 316 emit = TRUE; 317 /* if iap is "" then connection attempt has been canceled */ 318 if ((con_err == CON_IC_CONNECTION_ERROR_NONE) && 319 (!event_iap_id || (strlen (event_iap_id)== 0))) 320 con_err = CON_IC_CONNECTION_ERROR_USER_CANCELED; 315 321 is_online = FALSE; 316 322 /* Stop blocking tny_maemo_conic_device_connect(), if we are: */
