]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-theme-irc.c
Merge remote-tracking branch 'glassrose/add-All-service-selection-in-debug-window'
[empathy.git] / libempathy-gtk / empathy-theme-irc.c
index 2ee81a23ef64bfdb319ba70672ee8a7761b50753..ed8e3b38049c6303e45c66df5342141daf01e299 100644 (file)
@@ -50,7 +50,8 @@ theme_irc_create_tags (EmpathyThemeIrc *theme)
 
 static void
 theme_irc_append_message (EmpathyChatTextView *view,
-                         EmpathyMessage      *message)
+                         EmpathyMessage      *message,
+                         gboolean             should_highlight)
 {
        GtkTextBuffer *buffer;
        const gchar   *name;
@@ -77,7 +78,7 @@ theme_irc_append_message (EmpathyChatTextView *view,
        if (empathy_contact_is_user (contact)) {
                nick_tag = EMPATHY_THEME_IRC_TAG_NICK_SELF;
        } else {
-               if (empathy_message_should_highlight (message)) {
+               if (should_highlight) {
                        nick_tag = EMPATHY_THEME_IRC_TAG_NICK_HIGHLIGHT;
                } else {
                        nick_tag = EMPATHY_THEME_IRC_TAG_NICK_OTHER;