+2007-07-26 Xavier Claessens <xclaesse@gmail.com>
+
+ * libempathy/empathy-idle.c: Fix problems when NM is not running. Fixes
+ bug #460419.
+
+ * doc/*: Updated documentation.
+
2007-07-25 Xavier Claessens <xclaesse@gmail.com>
* libempathy/empathy-filter.c: Adding more debug output.
@empathytpchat: the object which received the signal.
@arg1:
+<!-- ##### SIGNAL EmpathyTpChat::send-error ##### -->
+<para>
+
+</para>
+
+@empathytpchat: the object which received the signal.
+@arg1:
+@arg2:
+
<!-- ##### ARG EmpathyTpChat:account ##### -->
<para>
G_TYPE_INVALID,
G_TYPE_UINT, &nm_status,
G_TYPE_INVALID);
- priv->nm_connected = (nm_status == NM_STATE_CONNECTED);
- empathy_debug (DEBUG_DOMAIN, "NetworkManager connected: %s",
- priv->nm_connected ? "Yes" : "No");
+ if (error) {
+ /* Can't get actual status, NM is not working. */
+ empathy_debug (DEBUG_DOMAIN,
+ "Couldn't get NM state: %s",
+ error->message);
+ g_clear_error (&error);
+ g_object_unref (priv->nm_proxy);
+ priv->nm_proxy = NULL;
+ priv->nm_connected = TRUE;
+ } else {
+ priv->nm_connected = (nm_status == NM_STATE_CONNECTED);
+
+ empathy_debug (DEBUG_DOMAIN, "NetworkManager connected: %s",
+ priv->nm_connected ? "Yes" : "No");
+ }
if (!priv->nm_connected) {
priv->saved_state = priv->state;