[Bug 261541] Re: Empathy doesn't connect/reconnect immediately if network becomes available

Alexander Sack asac at jwsdot.com
Mon Jan 26 11:42:24 UTC 2009


One issue is that empathy forgets about the ASLEEP state as being an
offline state; patch for that is:

(http://paste.ubuntu.com/109631/):

--- ./libempathy/empathy-idle.c.bak	2009-01-26 03:35:28.000000000 +0100
+++ ./libempathy/empathy-idle.c	2009-01-26 03:35:48.000000000 +0100
@@ -227,18 +227,17 @@ idle_nm_state_change_cb (DBusGProxy  *pr
 
 	priv = GET_PRIV (idle);
 
 	if (!priv->use_nm) {
 		return;
 	}
 
 	old_nm_connected = priv->nm_connected;
-	new_nm_connected = !(state == NM_STATE_CONNECTING ||
-			     state == NM_STATE_DISCONNECTED);
+	new_nm_connected = state == NM_STATE_CONNECTED;
 	priv->nm_connected = TRUE; /* To be sure _set_state will work */
 
 	DEBUG ("New network state %d", state);
 
 	if (old_nm_connected && !new_nm_connected) {
 		/* We are no more connected */
 		DEBUG ("Disconnected: Save state %d", priv->state);
 		priv->nm_saved_state = priv->state;


** Changed in: empathy (Ubuntu)
       Status: New => Triaged

-- 
Empathy doesn't connect/reconnect immediately if network becomes available
https://bugs.launchpad.net/bugs/261541
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list