aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-08-19 22:08:52 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-08-19 22:08:52 +0800
commit1b6dc82801e05a9afe5495e05e4918e19a44bdfe (patch)
tree0847a284ac48f7900e207de3a57b0265e8313c81 /libempathy
parent1f9772288086230ec9b8ac63380ad90d413b73c0 (diff)
downloadgsoc2013-empathy-1b6dc82801e05a9afe5495e05e4918e19a44bdfe.tar
gsoc2013-empathy-1b6dc82801e05a9afe5495e05e4918e19a44bdfe.tar.gz
gsoc2013-empathy-1b6dc82801e05a9afe5495e05e4918e19a44bdfe.tar.bz2
gsoc2013-empathy-1b6dc82801e05a9afe5495e05e4918e19a44bdfe.tar.lz
gsoc2013-empathy-1b6dc82801e05a9afe5495e05e4918e19a44bdfe.tar.xz
gsoc2013-empathy-1b6dc82801e05a9afe5495e05e4918e19a44bdfe.tar.zst
gsoc2013-empathy-1b6dc82801e05a9afe5495e05e4918e19a44bdfe.zip
empathy-connectivity: be sure to get the initial presence on init
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-connectivity.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index e9734e5db..27f4e1f17 100644
--- a/libempathy/empathy-connectivity.c
+++ b/libempathy/empathy-connectivity.c
@@ -100,12 +100,16 @@ empathy_connectivity_init (EmpathyConnectivity *connectivity)
connectivity->priv = priv;
priv->dispose_run = FALSE;
+ priv->use_conn = TRUE;
+
#ifdef HAVE_NM
priv->nm_client = nm_client_new ();
if (priv->nm_client != NULL)
{
g_signal_connect (priv->nm_client, "notify::" NM_CLIENT_STATE,
G_CALLBACK (connectivity_nm_state_change_cb), connectivity);
+
+ connectivity_nm_state_change_cb (priv->nm_client, NULL, connectivity);
}
else
{