diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-25 23:07:49 +0800 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-28 04:12:35 +0800 |
commit | 1c6faef3890bc3819bcc44299cff20e021fc3717 (patch) | |
tree | 6903723b6d2c2f01157aa3b1f7e7243f5cfc1a4e /libempathy-gtk | |
parent | aad78d378231d1a8a3c44ffda2ada5e63560a58a (diff) | |
download | gsoc2013-empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.tar gsoc2013-empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.tar.gz gsoc2013-empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.tar.bz2 gsoc2013-empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.tar.lz gsoc2013-empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.tar.xz gsoc2013-empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.tar.zst gsoc2013-empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.zip |
Fall back to protocol name in Adium themes
Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 66d914607..59d5583d1 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -547,6 +547,8 @@ theme_adium_append_message (EmpathyChatView *view, account = empathy_contact_get_account (sender); service_name = empathy_protocol_name_to_display_name (empathy_account_get_protocol (account)); + if (service_name == NULL) + service_name = empathy_account_get_protocol (account); timestamp = empathy_message_get_timestamp (msg); body = empathy_message_get_body (msg); dup_body = theme_adium_parse_body (theme, body); |