aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2009-07-28 00:08:02 +0800
committerFrédéric Péters <fpeters@0d.be>2009-07-28 05:06:02 +0800
commitfdd1174c22b2de215c0a4fd0b33051a3b44f5661 (patch)
tree3ea0609d5dc7000b5fd94aa0c6e803ee50ec28ef /libempathy-gtk
parentfb8b6e57e460565b24427ea524ff38520fc51bc2 (diff)
downloadgsoc2013-empathy-fdd1174c22b2de215c0a4fd0b33051a3b44f5661.tar
gsoc2013-empathy-fdd1174c22b2de215c0a4fd0b33051a3b44f5661.tar.gz
gsoc2013-empathy-fdd1174c22b2de215c0a4fd0b33051a3b44f5661.tar.bz2
gsoc2013-empathy-fdd1174c22b2de215c0a4fd0b33051a3b44f5661.tar.lz
gsoc2013-empathy-fdd1174c22b2de215c0a4fd0b33051a3b44f5661.tar.xz
gsoc2013-empathy-fdd1174c22b2de215c0a4fd0b33051a3b44f5661.tar.zst
gsoc2013-empathy-fdd1174c22b2de215c0a4fd0b33051a3b44f5661.zip
correctly display contact names in a11y tools (GNOME bug 545282)
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index fc096b288..783d986d0 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -817,16 +817,20 @@ contact_list_view_text_cell_data_func (GtkTreeViewColumn *tree_column,
gboolean is_group;
gboolean is_active;
gboolean show_status;
+ gchar *name;
gtk_tree_model_get (model, iter,
EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP, &is_group,
EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE, &is_active,
EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE, &show_status,
+ EMPATHY_CONTACT_LIST_STORE_COL_NAME, &name,
-1);
g_object_set (cell,
"show-status", show_status,
+ "text", name,
NULL);
+ g_free (name);
contact_list_view_cell_set_background (view, cell, is_group, is_active);
}