diff options
author | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2008-12-12 05:31:52 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-06-01 23:35:29 +0800 |
commit | 2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19 (patch) | |
tree | 8012bff2e29e7244e538a66cc70268ecf4e378c6 /libempathy-gtk/empathy-location-manager.c | |
parent | 82e42143ae2ad688045554abaa686ed5a19f454d (diff) | |
download | gsoc2013-empathy-2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19.tar gsoc2013-empathy-2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19.tar.gz gsoc2013-empathy-2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19.tar.bz2 gsoc2013-empathy-2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19.tar.lz gsoc2013-empathy-2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19.tar.xz gsoc2013-empathy-2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19.tar.zst gsoc2013-empathy-2f6fcddc5dbeba69b7c2cc01d311ad2057f24f19.zip |
Publish location when enabling it
Diffstat (limited to 'libempathy-gtk/empathy-location-manager.c')
-rw-r--r-- | libempathy-gtk/empathy-location-manager.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c index b48278baa..b658b13d6 100644 --- a/libempathy-gtk/empathy-location-manager.c +++ b/libempathy-gtk/empathy-location-manager.c @@ -428,8 +428,12 @@ publish_cb (EmpathyConf *conf, if (!empathy_conf_get_bool (conf, key, &can_publish)) return; - if (can_publish && !priv->is_setup) - setup_geoclue (manager); + if (can_publish) + { + if (!priv->is_setup) + setup_geoclue (manager); + publish_location_to_all_accounts (manager); + } } |