diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-03-14 17:56:49 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-03-16 17:28:41 +0800 |
commit | ede1523b824fef2f72b8d60f4efdf78a4fc4a768 (patch) | |
tree | 3f547920738d329f81a99b7a3a7a9d429fb1e2b0 /libempathy-gtk/empathy-contact-widget.c | |
parent | ee6ab13d16db6426e81d7eb00e5bb97cf1f89e2c (diff) | |
download | gsoc2013-empathy-ede1523b824fef2f72b8d60f4efdf78a4fc4a768.tar gsoc2013-empathy-ede1523b824fef2f72b8d60f4efdf78a4fc4a768.tar.gz gsoc2013-empathy-ede1523b824fef2f72b8d60f4efdf78a4fc4a768.tar.bz2 gsoc2013-empathy-ede1523b824fef2f72b8d60f4efdf78a4fc4a768.tar.lz gsoc2013-empathy-ede1523b824fef2f72b8d60f4efdf78a4fc4a768.tar.xz gsoc2013-empathy-ede1523b824fef2f72b8d60f4efdf78a4fc4a768.tar.zst gsoc2013-empathy-ede1523b824fef2f72b8d60f4efdf78a4fc4a768.zip |
Don't display parameters if Parameters_Exact is not Set
There is no point cluttering the UI with it as we don't allow user to choose
which param he wants to set.
https://bugzilla.gnome.org/show_bug.cgi?id=671983
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-widget.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 1b04fb751..edeec31f4 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -409,10 +409,14 @@ contact_widget_details_update_edit (EmpathyContactWidget *information) /* Add Title */ title = empathy_contact_info_field_label (field->field_name, - field->parameters); + field->parameters, + (spec->flags & TP_CONTACT_INFO_FIELD_FLAG_PARAMETERS_EXACT)); w = gtk_label_new (title); g_free (title); + /* TODO: if TP_CONTACT_INFO_FIELD_FLAG_PARAMETERS_EXACT is not set we + * should allow user to tag the vCard fields (bgo#672034) */ + gtk_grid_attach (GTK_GRID (information->grid_details), w, 0, n_rows, 1, 1); @@ -529,7 +533,7 @@ contact_widget_details_update_show (EmpathyContactWidget *information) /* Add Title */ title = empathy_contact_info_field_label (field->field_name, - field->parameters); + field->parameters, TRUE); title_widget = gtk_label_new (title); g_free (title); |