From: SourceForge.net <no...@so...> - 2004-11-19 21:36:40
|
Patches item #550481, was opened at 2002-04-30 03:23 Message generated for change (Comment added) made by eperez You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=550481&group_id=235 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Paul Miller (pmiller9) Assigned to: Etan Reisner (deryni9) Summary: add get/got_info/away plug in events Initial Comment: 1) This patch adds the following events to gaim: event_get_info/event_get_away - when *gaim* requests info/away on a buddy, etc. event_got_info - when info is received from protocol 2) It also makes the following modifications: Plugin event return codes - plugin event functions can return 0=success, positive=error, negative=error & disconnect signal. The feature of disconnecting signals is very useful because a the plugin event function cannot disconnect the signal itself (it'll cause gaim to segfault). Since most of the plugin event functions are type void, it also patches all the included plugins, changing them to type int and returning 0. Note: because of (2), many 3rd-party plugins may cause unexpected results if they do not return the proper value. A simple modification to the plugin will quickly fix the problem. Patch is against recent cvs. For the latest version of this patch, go to gaim osd's page (http://gaimosd.sourceforge.net). ---------------------------------------------------------------------- Comment By: Eduardo Pérez (eperez) Date: 2004-11-19 21:36 Message: Logged In: YES user_id=60347 This patch doesn't apply anymore. Could you update it? or is totally deprecated? ---------------------------------------------------------------------- Comment By: Paul Miller (pmiller9) Date: 2002-05-10 00:00 Message: Logged In: YES user_id=509952 updated to support buddy_menu's and latest cvs ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=550481&group_id=235 |