[Telepathy] Why is network manager required?

Rainer Dorsch rdorsch at web.de
Sun Nov 11 10:09:16 PST 2007


Hello,

I compiled empathy and telepathy from source and was stuck with the message:

Idle: Changing presence to Available (2)
Idle: NM not connected, saving requested presence

Searching the code, I found

empathy_idle_set_presence (EmpathyIdle *idle,
                           McPresence   state,
                           const gchar *status)
{
        EmpathyIdlePriv *priv;
        const gchar     *default_status;

        priv = GET_PRIV (idle);

        empathy_debug (DEBUG_DOMAIN, "Changing presence to %s (%d)",
                       status, state);

        if (!priv->nm_connected) {
                empathy_debug (DEBUG_DOMAIN,
                               "NM not connected, saving requested presence");

                g_free (priv->saved_status);
                priv->saved_state = state;
                priv->saved_status = g_strdup (status);
                return;

        }


changing that to 

void
empathy_idle_set_presence (EmpathyIdle *idle,
                           McPresence   state,
                           const gchar *status)
{
        EmpathyIdlePriv *priv;
        const gchar     *default_status;

        priv = GET_PRIV (idle);

        empathy_debug (DEBUG_DOMAIN, "Changing presence to %s (%d)",
                       status, state);

        if (!priv->nm_connected) {
                empathy_debug (DEBUG_DOMAIN,
                               "NM not connected, saving requested presence");

                g_free (priv->saved_status);
                priv->saved_state = state;
                priv->saved_status = g_strdup (status);
                empathy_debug (DEBUG_DOMAIN,
                               "Force continuation");
                /*              return; */
        }


fixed my problem that I got not connected.

I am wondering why empathy depends on a network manager (?).

Thanks,
Rainer


-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
jabber: rdorsch at jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/


More information about the Telepathy mailing list