[empathy] Adium: highlight messages starting with our name



commit 1a3795ae51d0d0539a8a4ab267e743811d9ce75c
Author: Xavier Claessens <xclaesse gmail com>
Date:   Mon May 2 22:14:15 2011 +0200

    Adium: highlight messages starting with our name

 libempathy-gtk/empathy-theme-adium.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 5d43160..c334ce3 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]