[empathy] More explicit debug message on what is published



commit 06785f7e2f1cb5634ca941d9933fd3877d63d214
Author: Pierre-Luc Beaudoin <pierre-luc beaudoin collabora co uk>
Date:   Thu May 28 14:23:05 2009 -0400

    More explicit debug message on what is published
---
 libempathy-gtk/empathy-location-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c
index 59555bf..90478ff 100644
--- a/libempathy-gtk/empathy-location-manager.c
+++ b/libempathy-gtk/empathy-location-manager.c
@@ -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)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]