Merge branch 'ft_rework'
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 1 Jun 2009 16:07:13 +0000 (18:07 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 1 Jun 2009 16:07:13 +0000 (18:07 +0200)
libempathy/empathy-idle.c

index dbc1473..92ab9f3 100644 (file)
@@ -230,7 +230,8 @@ idle_nm_state_change_cb (DBusGProxy  *proxy,
 
        priv = GET_PRIV (idle);
 
-       if (!priv->use_nm) {
+       if (!priv->use_nm
+           || priv->nm_saved_state == TP_CONNECTION_PRESENCE_TYPE_UNSET) {
                return;
        }