[empathy] Don't list timestamp in the location fields as it is already included in the header



commit 968b8e35a504d0fb617c7a022cd3dbb04560cc6e
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Fri May 22 18:51:57 2009 -0400

    Don't list timestamp in the location fields as it is already included in the header
---
 libempathy-gtk/empathy-contact-widget.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 045a810..5ccc4b0 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1369,6 +1369,9 @@ contact_widget_location_update (EmpathyContactWidget *information)
           char *svalue = NULL;
 
           skey = (const gchar *) key;
+          if (tp_strdiff (skey, EMPATHY_LOCATION_TIMESTAMP) == FALSE)
+            continue;
+
           user_label = location_key_to_label (skey);
           gvalue = (GValue *) value;
 



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