diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-07-07 23:21:43 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-22 04:25:09 +0800 |
commit | b6568db4f81cf4e78e96aa5fe23f020de5ff6557 (patch) | |
tree | 7f0dd7dbfb45315d5bf16f0db623a98d3fe6f19d /libempathy-gtk/empathy-theme-irc.c | |
parent | a244924636a2a0cde9da06909ac2b1b141ce3b9e (diff) | |
download | gsoc2013-empathy-b6568db4f81cf4e78e96aa5fe23f020de5ff6557.tar gsoc2013-empathy-b6568db4f81cf4e78e96aa5fe23f020de5ff6557.tar.gz gsoc2013-empathy-b6568db4f81cf4e78e96aa5fe23f020de5ff6557.tar.bz2 gsoc2013-empathy-b6568db4f81cf4e78e96aa5fe23f020de5ff6557.tar.lz gsoc2013-empathy-b6568db4f81cf4e78e96aa5fe23f020de5ff6557.tar.xz gsoc2013-empathy-b6568db4f81cf4e78e96aa5fe23f020de5ff6557.tar.zst gsoc2013-empathy-b6568db4f81cf4e78e96aa5fe23f020de5ff6557.zip |
Merge EmpathyContact:name and *_set_alias() to EmpathyContact:alias
The "name" API was a relic of Gossip.
Diffstat (limited to 'libempathy-gtk/empathy-theme-irc.c')
-rw-r--r-- | libempathy-gtk/empathy-theme-irc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-irc.c b/libempathy-gtk/empathy-theme-irc.c index 5d298564e..afd59523e 100644 --- a/libempathy-gtk/empathy-theme-irc.c +++ b/libempathy-gtk/empathy-theme-irc.c @@ -62,11 +62,11 @@ theme_irc_append_message (EmpathyChatTextView *view, buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); contact = empathy_message_get_sender (message); - name = empathy_contact_get_name (contact); + name = empathy_contact_get_alias (contact); if (empathy_message_get_tptype (message) == TP_CHANNEL_TEXT_MESSAGE_TYPE_ACTION) { tmp = g_strdup_printf (" * %s %s", - empathy_contact_get_name (contact), + empathy_contact_get_alias (contact), empathy_message_get_body (message)); empathy_chat_text_view_append_body (view, tmp, EMPATHY_CHAT_TEXT_VIEW_TAG_ACTION); |