From 1a3795ae51d0d0539a8a4ab267e743811d9ce75c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 2 May 2011 22:14:15 +0200 Subject: Adium: highlight messages starting with our name --- libempathy-gtk/empathy-theme-adium.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 5d4316095..c334ce3d7 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -723,12 +723,12 @@ theme_adium_append_message (EmpathyChatView *view, } else { g_string_append (message_classes, " incoming"); } + if (empathy_message_should_highlight (msg)) { + g_string_append (message_classes, " mention"); + } /* FIXME: other classes: * autoreply - the message is an automatic response, generally due to an * away status - * mention - the incoming message (in groupchat) matches your username - * or one of the mention keywords specified in Adium's - * advanced prefs. * status - the message is a status change * event - the message is a notification of something happening * (for example, encryption being turned on) -- cgit v1.2.3