]> git.0d.be Git - empathy.git/commitdiff
More explicit debug message on what is published
authorPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>
Thu, 28 May 2009 18:23:05 +0000 (14:23 -0400)
committerPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>
Mon, 1 Jun 2009 15:35:32 +0000 (11:35 -0400)
libempathy-gtk/empathy-location-manager.c

index 59555bf8a3be31153a6c5cc202bc19e1d79ccee0..90478ff36136176401955e5552c493323a2cd174 100644 (file)
@@ -143,7 +143,8 @@ publish_location (EmpathyLocationManager *location_manager,
   if (connection_status != TP_CONNECTION_STATUS_CONNECTED)
     return;
 
-  DEBUG ("Publishing location to account %s",
+  DEBUG ("Publishing %s location to account %s", 
+      (g_hash_table_size (priv->location) == 0 ? "empty" : ""),
       mc_account_get_display_name (account));
 
   empathy_tp_contact_factory_set_location (factory, priv->location);
@@ -478,7 +479,6 @@ update_resources (EmpathyLocationManager *location_manager)
 
 }
 
-
 static void
 setup_geoclue (EmpathyLocationManager *location_manager)
 {