|
From: PUYDT J. <jul...@la...> - 2004-10-25 18:35:34
|
Le lundi 25 octobre 2004 =E0 14:29 -0400, Stu Tomlinson a =E9crit : > Your plugin would do something like this (after prompting the user for > the URI): > gaim_blist_node_set_string(node, "gnomemeeting-uri", uri); Do I do the prompting just like usual (popup) or does gaim support something fancier? > > So basically I would will need to: > > * know how to add "Call" to the contact context menu ; >=20 > Connect to the "blist-node-extended-menu" signal. >=20 > > * know how to get the contact associated with the click (probably > > straightforward) ; >=20 > The node is passed to the callback you register when handling the above > signal. >=20 > > Could you point me to some plugin that does things similar to those? = I > > only studied the timestamp plugin for the moment. >=20 > I have a basic "Buddy Notes" plugin that allows you to store arbitrary > notes for any buddy list node (Group, Chat, Contact, or Buddy) which > implements both the right-click menu extension and adding a field to th= e > node here: http://nosnilmot.com/gaim/plugins/buddynote.c >=20 > My "Last Seen" and "Group IM" plugins also do things with adding plugin > specific data to buddy list nodes and right-click menus: > http://nosnilmot.com/gaim/plugins/lastseen.c > http://nosnilmot.com/gaim/plugins/groupmsg.c Ah! Some specific code sample will really help me! Thanks! I'll study them tomorrow, Snark on #gnomemeeting |