Mercurial > pidgin
diff pidgin/gtkblist-theme.h @ 25898:dc2584ebaa1a
Adding the patch to extend the blist theme to allow coloring of chat nodes with unread messages mentioning your nick.
Parenthesized a bunch of truth statements in gtkblist-theme-loader to clarify what it is doing.
Also s/sucess/success/g (if anyone feels like it, there is also a variable named sucess in gtkprefs.c and a misspelled 'sucessful' in gtksourceundomanager.c).
Oh, and I guess I also tested that the patch works properly :)
refs #7760
committer: Gary Kramlich <grim@reaperworld.com>
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 06 Jan 2009 03:54:50 +0000 |
parents | 9525fb966efb |
children | 0c7b74fc558e |
line wrap: on
line diff
--- a/pidgin/gtkblist-theme.h Tue Jan 06 03:52:31 2009 +0000 +++ b/pidgin/gtkblist-theme.h Tue Jan 06 03:54:50 2009 +0000 @@ -200,6 +200,14 @@ FontColorPair *pidgin_blist_theme_get_unread_message_text_info(PidginBlistTheme *theme); /** + * Returns the text font and color to be used for chats with unread messages + * that mention your nick. + * + * @returns a font and color pair + */ + FontColorPair *pidgin_blist_theme_get_unread_message_nick_said_text_info(PidginBlistTheme *theme); + +/** * Returns the text font and color to be used for a buddy's status message * * @returns a font and color pair @@ -300,13 +308,21 @@ void pidgin_blist_theme_set_idle_text_info(PidginBlistTheme *theme, FontColorPair *pair); /** - * Sets the text color and font to be used for buddies with an unread message + * Sets the text color and font to be used for buddies with unread messages * * @param pair the new text font at color pair */ void pidgin_blist_theme_set_unread_message_text_info(PidginBlistTheme *theme, FontColorPair *pair); /** + * Sets the text color and font to be used for a chat with unread messages + * that mention your nick + * + * @param pair the new text font at color pair + */ +void pidgin_blist_theme_set_unread_message_nick_said_text_info(PidginBlistTheme *theme, FontColorPair *pair); + +/** * Sets the text color and font to be used for buddy status messages * * @param pair the new text font at color pair