diff options
author | Will Thompson <will@willthompson.co.uk> | 2012-01-19 00:03:00 +0800 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2012-01-19 01:47:25 +0800 |
commit | be14bbb863d0fc83402f9307e5193175d77e6d0d (patch) | |
tree | 0b9948957a079678c2610ba4b42e37732892bee6 /src/empathy-chat-window.c | |
parent | 3030fa4e082c695fa25b564e513307f3423feaae (diff) | |
download | gsoc2013-empathy-be14bbb863d0fc83402f9307e5193175d77e6d0d.tar gsoc2013-empathy-be14bbb863d0fc83402f9307e5193175d77e6d0d.tar.gz gsoc2013-empathy-be14bbb863d0fc83402f9307e5193175d77e6d0d.tar.bz2 gsoc2013-empathy-be14bbb863d0fc83402f9307e5193175d77e6d0d.tar.lz gsoc2013-empathy-be14bbb863d0fc83402f9307e5193175d77e6d0d.tar.xz gsoc2013-empathy-be14bbb863d0fc83402f9307e5193175d77e6d0d.tar.zst gsoc2013-empathy-be14bbb863d0fc83402f9307e5193175d77e6d0d.zip |
EmpathyChat: include should_highlight in ::new-message
This allows EmpathyChatWindow to use this rather than calling
empathy_message_should_highlight() itself.
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r-- | src/empathy-chat-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 1bb9de4aa..3e197796d 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -1437,6 +1437,7 @@ static void chat_window_new_message_cb (EmpathyChat *chat, EmpathyMessage *message, gboolean pending, + gboolean should_highlight, EmpathyChatWindow *window) { EmpathyChatWindowPriv *priv; @@ -1496,7 +1497,7 @@ chat_window_new_message_cb (EmpathyChat *chat, if (chatroom != NULL && empathy_chatroom_is_always_urgent (chatroom)) { needs_urgency = TRUE; } else { - needs_urgency = empathy_message_should_highlight (message); + needs_urgency = should_highlight; } } else { needs_urgency = TRUE; |