aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-20 22:19:59 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-20 23:10:53 +0800
commit00b878b87455a47494ef640c0b5fd2cab4e6b66c (patch)
treedd0dad1c860aa2251bd5db50dffd82b171ef3956 /libempathy-gtk
parenta63a58b777180d1b5c9eee39faab5edd891ac80d (diff)
downloadgsoc2013-empathy-00b878b87455a47494ef640c0b5fd2cab4e6b66c.tar
gsoc2013-empathy-00b878b87455a47494ef640c0b5fd2cab4e6b66c.tar.gz
gsoc2013-empathy-00b878b87455a47494ef640c0b5fd2cab4e6b66c.tar.bz2
gsoc2013-empathy-00b878b87455a47494ef640c0b5fd2cab4e6b66c.tar.lz
gsoc2013-empathy-00b878b87455a47494ef640c0b5fd2cab4e6b66c.tar.xz
gsoc2013-empathy-00b878b87455a47494ef640c0b5fd2cab4e6b66c.tar.zst
gsoc2013-empathy-00b878b87455a47494ef640c0b5fd2cab4e6b66c.zip
Display Personas' accounts in the linking dialogue
Display the account name instead of the Persona's presence message on the right-hand side of the linking dialogue. Closes: bgo#626715
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-persona-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-persona-view.c b/libempathy-gtk/empathy-persona-view.c
index ee679ec74..04777b1b6 100644
--- a/libempathy-gtk/empathy-persona-view.c
+++ b/libempathy-gtk/empathy-persona-view.c
@@ -356,6 +356,8 @@ constructed (GObject *object)
gtk_tree_view_column_set_cell_data_func (col, cell,
(GtkTreeCellDataFunc) text_cell_data_func, self, NULL);
+ /* We (ab)use the name and status properties here to display display ID and
+ * account name, respectively. Harmless. */
gtk_tree_view_column_add_attribute (col, cell,
"name", EMPATHY_PERSONA_STORE_COL_DISPLAY_ID);
gtk_tree_view_column_add_attribute (col, cell,
@@ -363,7 +365,7 @@ constructed (GObject *object)
gtk_tree_view_column_add_attribute (col, cell,
"presence-type", EMPATHY_PERSONA_STORE_COL_PRESENCE_TYPE);
gtk_tree_view_column_add_attribute (col, cell,
- "status", EMPATHY_PERSONA_STORE_COL_STATUS);
+ "status", EMPATHY_PERSONA_STORE_COL_ACCOUNT_NAME);
/* Audio Call Icon */
cell = empathy_cell_renderer_activatable_new ();