[Pidgin] #12448: Add different taskbar notifications for CHAT conv wrt PURPLE_MESSAGE_NICK

Pidgin trac at pidgin.im
Fri Aug 6 11:35:17 EDT 2010


#12448: Add different taskbar notifications for CHAT conv wrt PURPLE_MESSAGE_NICK
---------------------------------+------------------------------------------
 Reporter:  darkmag              |     Owner:  sadrul
     Type:  enhancement          |    Status:  new   
Component:  finch (gnt/ncurses)  |   Version:  2.7.2 
 Keywords:  finch irc tui        |  
---------------------------------+------------------------------------------
 I'm currently using finch as my main IM client. I'm using a lot of
 protocols, including IRC with a lot of channels. It's not really
 comfortable that I can't see when my nickname is said (ex. "darkmag: hi"),
 so I've made a small patch that adds one more widget state
 (GNT_WIDGET_INFO) that is used when the conversation is
 PURPLE_CONV_TYPE_CHAT and my nick is not pronounced - so the tab is
 coloured as HIGHLIGHT_D, meaning that there were some messages but nobody
 said my nick (nothing urgent, so not setting GNT_WIDGET_URGENT flag).

 For that I've replaced the gnt_widget_set_urgent(widget) with
 gnt_widget_set_flags(widget, flags), to be able to set any flags, not only
 URGENT. Patch attached.

 Changelog:

 * Replace gnt_widget_set_urgent() to gnt_widget_set_flags() to support
 setting any widget flags.

 * Add GNT_WIDGET_INFO flag for tab notification of some unimportant
 information.

 * PURPLE_CONV_TYPE_CHAT conversation tab highlights GNT_WIDGET_URGENT only
 on PURPLE_MESSAGE_NICK message flag, otherwise it highlights
 GNT_WIDGET_INFO (GNT_COLOR_HIGHLIGHT_D).

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12448>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list