aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-10 17:02:31 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-14 17:27:18 +0800
commite6e284c7dbcc97c007091b937837c94c47876922 (patch)
tree785cbb8b367afdb5f695a959a6a04e8a688b7048
parent54ff7731cdcdcad0e824c3b71fc8d1b427f26f72 (diff)
downloadgsoc2013-empathy-e6e284c7dbcc97c007091b937837c94c47876922.tar
gsoc2013-empathy-e6e284c7dbcc97c007091b937837c94c47876922.tar.gz
gsoc2013-empathy-e6e284c7dbcc97c007091b937837c94c47876922.tar.bz2
gsoc2013-empathy-e6e284c7dbcc97c007091b937837c94c47876922.tar.lz
gsoc2013-empathy-e6e284c7dbcc97c007091b937837c94c47876922.tar.xz
gsoc2013-empathy-e6e284c7dbcc97c007091b937837c94c47876922.tar.zst
gsoc2013-empathy-e6e284c7dbcc97c007091b937837c94c47876922.zip
details_update_show: skip empty field
https://bugzilla.gnome.org/show_bug.cgi?id=663763
-rw-r--r--libempathy-gtk/empathy-individual-widget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index 215d3218e..3245f22ef 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -243,6 +243,10 @@ details_update_show (EmpathyIndividualWidget *self,
continue;
}
+ /* Skip empty field */
+ if (tp_str_empty (value))
+ continue;
+
/* Add Title */
title = empathy_contact_info_field_label (field->field_name,
field->parameters);