Commit Graph

33 Commits

Author SHA1 Message Date
Denis Fomin ba3bed88be fix ellipsize in plugin_homepage_linkbutton 2013-01-29 23:59:21 +04:00
Denis Fomin 516f27e95e plugins_window.do not shrink vbox,expand plugin name coloumn 2013-01-28 01:32:17 +04:00
Yann Leboulanger 3fdefe20b7 xrange() -> list(range()) 2013-01-02 18:17:51 +01:00
Yann Leboulanger d27591076f fix exception handling 2013-01-01 23:18:36 +01:00
Yann Leboulanger 414e349345 python uses unicode internally 2013-01-01 19:44:25 +01:00
Denis Fomin f28d5574d0 fix plugin window 2012-12-31 20:13:35 +04:00
Yann Leboulanger 8f71d9f219 start porting Gajim to gobject introspection and GTK3 2012-12-23 16:23:43 +01:00
Denis Fomin dbdb3cf035 plugin system. add plugin icon support 2012-08-16 17:58:00 +04:00
Denis Fomin 74b6ba5ca1 coding style 2012-08-16 16:56:02 +04:00
Yann Leboulanger d8f4a75ec5 set plugin error dialog transient for Plugins Window. Fixes #7184 2012-07-15 22:44:02 +02:00
Denis Fomin 926b7d8514 Select root iter in the PluginsWindow treeview. set focus on close button when switch page. 2012-06-28 13:37:55 +04:00
Yann Leboulanger 971e0502c0 don't load unactivatable plugins 2012-04-30 21:04:37 +02:00
Yann Leboulanger 3fe07c9a14 ability for plugins to be activatable. True by default, but plugin can be non-activatable is a dep is missing for example. 2012-04-30 00:43:18 +02:00
Denis Fomin 4564c2c558 Use set_rules_hint(True) in the installed plugins treeview 2011-11-26 22:52:04 +03:00
Denis Fomin e194394479 imported patch 2011-08-27_00-06-54_r13163+.diff 2011-08-30 15:23:16 +03:00
Yann Leboulanger 5fa8dab30f show warning dialog when trying to enable a plugin that raise an exception when activate is called. 2010-11-01 21:22:43 +01:00
Yann Leboulanger ebde7d4333 [Dicson] ellipsize plugins homepage button. Fixes #6025 2010-11-01 14:35:32 +01:00
Yann Leboulanger 8ce99327bd [Dicson] some error dialogs improvements. Fixes #5930 2010-09-21 21:44:04 +02:00
Yann Leboulanger 2c95192037 [Dicson] check for manifest file when installing a plugin. Fixes #5925 2010-09-20 07:08:47 +02:00
Yann Leboulanger 0b448cfb10 [Dicson] use manifest.ini files in plugins to have a separate file for plugin's information. Fixes #5920 2010-09-18 23:00:43 +02:00
Yann Leboulanger 096b8f3d91 [Dicson] ability to install from zip / uninstall plugin. Fixes #5906 2010-09-14 19:31:35 +02:00
Éric Araujo 9b5ee1e13b convert tabs to spaces in source code thanks to reindent.py
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Yann Leboulanger fa05d88b2b merge from default branch 2010-02-08 22:25:41 +01:00
Yann Leboulanger af5afb2c2d use set_transient_for instead of reparent. We don't reparent a window, but a widget 2008-08-29 11:58:27 +00:00
Yann Leboulanger fbcc091db0 sort plugins by name 2008-08-29 11:54:34 +00:00
Mateusz Biliński d1d3cc9bbd GUI extension points removal working properly now. 2008-08-03 22:02:53 +00:00
Mateusz Biliński 16ac65e58b Improvements to GUI extension points handling - added method to remove these from PluginManager (memory optimization).
Removed logging from most of the code.
2008-08-03 13:29:11 +00:00
Mateusz Biliński 8aa9cad2e0 Plugin's configuration is now saved to disk (currently: using UserDict and shelve modules).
Length Notifier Plugin has configuration dialog (added entry with JIDs to be included when plugin is working) - fully usable.

Default values of configuration key has been added to GajimPlugin.

Some other minor changes/fixes.
2008-07-29 19:09:28 +00:00
Mateusz Biliński d8075a23e6 Small sync commit. 2008-07-18 07:05:07 +00:00
Mateusz Biliński b647885d86 Small sync commit. 2008-07-05 16:44:27 +00:00
Mateusz Biliński aaf5b30129 Added GajimPluginConfigDialog class - dialog that plugins should use to present configuration to user.
Now, 'Configure' button is invoked only for plug-ins that have config_dialog.
2008-06-19 12:56:45 +00:00
Mateusz Biliński 8581b862e1 Added new 'init' method to Plugin class that plugins can implement to make 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.
2008-06-18 20:45:22 +00:00
Mateusz Biliński e127925948 Added first version of 'Plugins' window. It's accessible through 'Edit/Plugins' item in roster menu. It seems that you can successfully (de)activate plug-ins through GUI now.
Added 'homepage' attribute to Plugin class.

Added (commented out) calls of pycallgraph in src/gajim.py for later use.

[xbright] Changed 'python' to 'python2.5' because code uses modules not available in previous versions of Python.
2008-06-07 17:28:34 +00:00