From 1c6faef3890bc3819bcc44299cff20e021fc3717 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 25 Aug 2009 16:07:49 +0100 Subject: Fall back to protocol name in Adium themes Reviewed-by: Sjoerd Simons --- libempathy-gtk/empathy-theme-adium.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libempathy-gtk/empathy-theme-adium.c') 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); -- cgit v1.2.3