view PLUGIN_HOWTO @ 16784:db06d4a18246

Add a python script plugins/startup.py which will first check whether a client with the same home directory is running. If so, it will do a purple_blist_show() and exit. Otherwise, it will start the client. Usage example: startup.py pidgin -c /tmp/ I wanted to do a purple_notify_ to notify the user. But because we can't/ don't expose functions with callbacks as parameters to dbus, that was not possible.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 02 May 2007 16:18:45 +0000
parents 83ec0b408926
children db5a58aabe38
line wrap: on
line source

For information on writing a plugin for Purple, Pidgin or Finch, go
http://developer.pidgin.im and click on API.  From there, see the HOWTOs in the
"Related Pages" section.

You can also generate this documentation locally by installing
doxygen and graphviz dot, then running "make docs" in the
source tree.  The documentation will be in the docs/html directory.