aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-05-03 04:14:15 +0800
committerXavier Claessens <xclaesse@gmail.com>2011-05-03 17:36:58 +0800
commit1a3795ae51d0d0539a8a4ab267e743811d9ce75c (patch)
tree5d8aa82d5278c099b21123c421a8391d299a85c4
parent0a23e2154b658e2093980e299045fdcc92feabd2 (diff)
downloadgsoc2013-empathy-1a3795ae51d0d0539a8a4ab267e743811d9ce75c.tar
gsoc2013-empathy-1a3795ae51d0d0539a8a4ab267e743811d9ce75c.tar.gz
gsoc2013-empathy-1a3795ae51d0d0539a8a4ab267e743811d9ce75c.tar.bz2
gsoc2013-empathy-1a3795ae51d0d0539a8a4ab267e743811d9ce75c.tar.lz
gsoc2013-empathy-1a3795ae51d0d0539a8a4ab267e743811d9ce75c.tar.xz
gsoc2013-empathy-1a3795ae51d0d0539a8a4ab267e743811d9ce75c.tar.zst
gsoc2013-empathy-1a3795ae51d0d0539a8a4ab267e743811d9ce75c.zip
Adium: highlight messages starting with our name
-rw-r--r--libempathy-gtk/empathy-theme-adium.c6
1 files changed, 3 insertions, 3 deletions
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)