[Telepathy] Why is network manager required?
Rainer Dorsch
rdorsch at web.de
Fri Nov 16 21:15:32 PST 2007
I verified that and can confirm it....I had installed network-manager but I
was not using it and it was not configured.
Removing network-manager made empathy working without the change in empathy.
Not sure, if it is worth to give the user a more meaningful message in this
case.
Rainer
On Monday, 12. November 2007 01:53, Xavier Claessens wrote:
> 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
>
> _______________________________________________
> Telepathy mailing list
> Telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
--
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