diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-25 16:07:49 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-08-27 21:12:35 +0100 |
commit | 1c6faef3890bc3819bcc44299cff20e021fc3717 (patch) | |
tree | 6903723b6d2c2f01157aa3b1f7e7243f5cfc1a4e /libempathy-gtk/empathy-theme-adium.c | |
parent | aad78d378231d1a8a3c44ffda2ada5e63560a58a (diff) | |
download | empathy-1c6faef3890bc3819bcc44299cff20e021fc3717.tar.gz |
Fall back to protocol name in Adium themes
Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-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); |