aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-boxes.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-22 00:53:07 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-05 00:50:21 +0800
commit858a4d27abd2f040d44eaeda17f618a1a63b1631 (patch)
tree536e016b2b4aa3ffe8dbfb4e755d4f94d4831fc3 /libempathy-gtk/empathy-theme-boxes.c
parent247f9a497a9dee8eb62d08cb161b9a5e1d7a6562 (diff)
downloadgsoc2013-empathy-858a4d27abd2f040d44eaeda17f618a1a63b1631.tar
gsoc2013-empathy-858a4d27abd2f040d44eaeda17f618a1a63b1631.tar.gz
gsoc2013-empathy-858a4d27abd2f040d44eaeda17f618a1a63b1631.tar.bz2
gsoc2013-empathy-858a4d27abd2f040d44eaeda17f618a1a63b1631.tar.lz
gsoc2013-empathy-858a4d27abd2f040d44eaeda17f618a1a63b1631.tar.xz
gsoc2013-empathy-858a4d27abd2f040d44eaeda17f618a1a63b1631.tar.zst
gsoc2013-empathy-858a4d27abd2f040d44eaeda17f618a1a63b1631.zip
empathy_contact_from_tpl_contact: don't override the alias
Add a logged-alias property instead, which can be used by those who need the old alias. And use it in chat themes for the backlog.
Diffstat (limited to 'libempathy-gtk/empathy-theme-boxes.c')
-rw-r--r--libempathy-gtk/empathy-theme-boxes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-boxes.c b/libempathy-gtk/empathy-theme-boxes.c
index c0377b6ae..7bfc313e1 100644
--- a/libempathy-gtk/empathy-theme-boxes.c
+++ b/libempathy-gtk/empathy-theme-boxes.c
@@ -206,7 +206,7 @@ theme_boxes_maybe_append_header (EmpathyThemeBoxes *theme,
gboolean consecutive;
contact = empathy_message_get_sender (msg);
- name = empathy_contact_get_alias (contact);
+ name = empathy_contact_get_logged_alias (contact);
last_contact = empathy_chat_text_view_get_last_contact (view);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (theme));
time_ = empathy_message_get_timestamp (msg);
@@ -349,7 +349,7 @@ theme_boxes_append_message (EmpathyChatTextView *view,
gchar *body;
body = g_strdup_printf (" * %s %s",
- empathy_contact_get_alias (sender),
+ empathy_contact_get_logged_alias (sender),
empathy_message_get_body (message));
empathy_chat_text_view_append_body (EMPATHY_CHAT_TEXT_VIEW (view),
body,