]> git.0d.be Git - empathy.git/commit
chat_view_append_message: take a should_highlight argument
authorWill Thompson <will@willthompson.co.uk>
Wed, 18 Jan 2012 15:54:48 +0000 (15:54 +0000)
committerWill Thompson <will@willthompson.co.uk>
Wed, 18 Jan 2012 17:47:25 +0000 (17:47 +0000)
commit3030fa4e082c695fa25b564e513307f3423feaae
tree3d2795a6a2662a708cfad2a83165000e78640b76
parentaded85c91fb409bafb06492ddb85aa1224178d4c
chat_view_append_message: take a should_highlight argument

Rather than the EmpathyChatView implementations calling
empathy_message_should_highlight() themselves, this patch makes
EmpathyChat take responsibility for doing so.

The theme preview in Preferences, whether deliberately or otherwise,
highlights the line in which Juliet mentions Romeo. This behaviour is
preserved.
libempathy-gtk/empathy-chat-text-view.c
libempathy-gtk/empathy-chat-text-view.h
libempathy-gtk/empathy-chat-view.c
libempathy-gtk/empathy-chat-view.h
libempathy-gtk/empathy-chat.c
libempathy-gtk/empathy-theme-adium.c
libempathy-gtk/empathy-theme-boxes.c
libempathy-gtk/empathy-theme-irc.c
src/empathy-preferences.c