]> git.0d.be Git - empathy.git/commitdiff
correctly display contact names in a11y tools (GNOME bug 545282)
authorFrédéric Péters <fpeters@0d.be>
Mon, 27 Jul 2009 16:08:02 +0000 (18:08 +0200)
committerFrédéric Péters <fpeters@0d.be>
Mon, 27 Jul 2009 21:06:02 +0000 (23:06 +0200)
libempathy-gtk/empathy-contact-list-view.c

index fc096b2889bf297b2f0e4c8ab689434d95aac157..783d986d098ab0550af5da1a837469168c63b9a8 100644 (file)
@@ -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);
 }