Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
triggers.remove unused import,coding style
|
|
|
|
|
|
plugin's information. Fixes #5920
|
|
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
|
|
|
|
from PluginManager (memory optimization).
Removed logging from most of the code.
|
|
present configuration to user.
Now, 'Configure' button is invoked only for plug-ins that have config_dialog.
|
|
actions that need to be done only once - when plugin is added (not activated) to Gajim. In this method plugins should declare handlers for GUI extension points. This was created so that __init__ method doesn't have to be reimplemented in specific way (create config, load config) - it is all done by __init__ in Plugin class. If __init__ is reimplemented, it must call Plugin __init__ (eg. using super() ) to plugin work properly.
Example plug-ins were modified to use init() instead of __init__().
Added new category in configuration - 'plugins'. It only holds one option for each plugin - 'active', which determines whether plugin should be activated on startup.
Now, Gajim remembers which plugins are active on exit, and activates them on next startup.
|
|
roster window (with glade file).
Added activate and deactivate methods to Plugin (used in forementioned RosterButtonsPlugin).
|