plugin conflicts

deckrider deckrider at gmail.com
Mon May 21 16:36:52 EDT 2007


On 5/21/07, Etan Reisner <pidgin at unreliablesource.net> wrote:
> On Mon, May 21, 2007 at 05:27:18AM -0600, deckrider wrote:
> <snip>
> > Actually, I was just wanting a way to notify the user so the user
> > could decide which to enable.
>
> I would advocate that BotSentry check for the psychic plugin when loaded
> and pop up a dialog indicating the 'collision' and allowing the user to
> decide what to do then. I'd almost advocate such a check in the psychic
> plugin but having pidgin distributed plugins maintain known issues with
> third-party plugins is a much harder task than the other way around.

Thanks for the suggestions.  I think I'll be following this approach
if I don't hear compelling arguments against:

purple_signal_connect() to plugin-load and check for the psychic plugin
purple_prefs_connect_callback() for "/plugins/core/psychic/buddies_only"

Since "/plugins/core/psychic/buddies_only" = FALSE causes the problem
with bot sentry, I'll always set it to true from bot sentry (if it is
false) under the above signals, and pop up purple_notify_info() to
indicate what was done and why.




More information about the Devel mailing list