[Telepathy] Why is network manager required?

Xavier Claessens xclaesse at gmail.com
Sun Nov 11 22:53:38 PST 2007


It does not depends on NM, but if you have it installed it uses it.

Le dimanche 11 novembre 2007 à 13:09 -0500, Rainer Dorsch a écrit :
> 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
> 
> 



More information about the Telepathy mailing list