annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15934
cc3c50816cc9 More gaim->whatever isms
Mark Doliner <mark@kingant.net>
parents: 14505
diff changeset
1 For information on writing a plugin for Purple, Pidgin or Finch, go
16176
83ec0b408926 Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents: 15934
diff changeset
2 http://developer.pidgin.im and click on API. From there, see the HOWTOs in the
83ec0b408926 Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents: 15934
diff changeset
3 "Related Pages" section.
14505
7acebc9d043f [gaim-migrate @ 17225]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
4
7acebc9d043f [gaim-migrate @ 17225]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
5 You can also generate this documentation locally by installing
15934
cc3c50816cc9 More gaim->whatever isms
Mark Doliner <mark@kingant.net>
parents: 14505
diff changeset
6 doxygen and graphviz dot, then running "make docs" in the
14505
7acebc9d043f [gaim-migrate @ 17225]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
7 source tree. The documentation will be in the docs/html directory.