[Pidgin] #5507: Automatically opening up closed persistent chat windows dows not work

Pidgin trac at pidgin.im
Tue Feb 16 21:37:48 EST 2010

#5507: Automatically opening up closed persistent chat windows dows not work
 Reporter:  ignacvucko                         |        Owner:  datallah       
     Type:  defect                             |       Status:  new            
Milestone:  Plugin Suggested                   |    Component:  winpidgin (gtk)
  Version:  2.4.1                              |   Resolution:                 
 Keywords:  open window chat conversationroom  |  

Comment(by mino):

 Hi all,

 I've written an extremely simple plugin, 'chatpop', based on the 'psychic'
 and 'signals-test' core plugins. I haven't done C in years and know
 NOTHING AT ALL about pidgin plugins, except for what I hacked together for
 this purpose, so please don't mock my crappy plugin. It works for me: it
 brings up a window whenever I get a persistent chat message from a close
 chat, opens a new tab if required, doesn't steal focus from other apps or
 other active chat tabs, blinks my notification bar. That's all I need.

 It probably doesn't follow any niceties or standards of pidgin plugins --
 I certainly 'cheated' by just sticking it alongside the other plugins in
 libpurple/plugins and compiling it from there, I don't know how well it
 will work standalone.

 That said, it works for my purposes; if anyone wants it, the code is at
 [http://custardsource.com/scratch/chatpop.c] and an AMD64 binary is at

 Modify as you wish; it's really pretty simple, as far as I can tell all
 you really need is:

 static void received_chat_msg_cb(...)

 and that seems to do what I need.

Ticket URL: <http://developer.pidgin.im/ticket/5507#comment:10>
Pidgin <http://pidgin.im>

More information about the Tracker mailing list