[empathy] Adium: Mark autoreply message



commit 7aa2b0f9959c05bd4c361cd582438fd92e9229e4
Author: Xavier Claessens <xclaesse gmail com>
Date:   Mon May 2 22:18:53 2011 +0200

    Adium: Mark autoreply message

 libempathy-gtk/empathy-theme-adium.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index c334ce3..0d09de9 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -726,9 +726,10 @@ theme_adium_append_message (EmpathyChatView *view,
 	if (empathy_message_should_highlight (msg)) {
 		g_string_append (message_classes, " mention");
 	}
+	if (empathy_message_get_tptype (msg) == TP_CHANNEL_TEXT_MESSAGE_TYPE_AUTO_REPLY) {
+		g_string_append (message_classes, " autoreply");
+	}
 	/* FIXME: other classes:
-	 * autoreply - the message is an automatic response, generally due to an
-	 *             away status
 	 * 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]