]> git.0d.be Git - empathy.git/commitdiff
Fall back to protocol name in Adium themes
authorWill Thompson <will.thompson@collabora.co.uk>
Tue, 25 Aug 2009 15:07:49 +0000 (16:07 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Thu, 27 Aug 2009 20:12:35 +0000 (21:12 +0100)
Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
libempathy-gtk/empathy-theme-adium.c

index 66d914607ac1a4aa322574e0d04b87956ec9473a..59d5583d1846aaa17de9dd6ec3451b7c893a1f0b 100644 (file)
@@ -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);