Changeset 9952
- Timestamp:
- 07/18/08 09:05:07 (5 months ago)
- Location:
- branches/plugin-system/src/plugins
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin-system/src/plugins/gui.py
r9885 r9952 20 20 21 21 :author: Mateusz Biliński <mateusz@bilinski.it> 22 :since: 06/06/200822 :since: 6th June 2008 23 23 :copyright: Copyright (2008) Mateusz Biliński <mateusz@bilinski.it> 24 24 :license: GPL … … 184 184 else: 185 185 # No plugin selected. this should never be reached. As configure 186 # plugin button should only myclickable when plugin is selected.186 # plugin button should only be clickable when plugin is selected. 187 187 # XXX: maybe throw exception here? 188 188 pass -
branches/plugin-system/src/plugins/helpers.py
r9773 r9952 20 20 21 21 :author: Mateusz Biliński <mateusz@bilinski.it> 22 :since: 05/30/200822 :since: 30th May 2008 23 23 :copyright: Copyright (2008) Mateusz Biliński <mateusz@bilinski.it> 24 24 :license: GPL -
branches/plugin-system/src/plugins/plugin.py
r9885 r9952 98 98 Extension points that plugin wants to connect with. 99 99 ''' 100 config_default_values = {} 101 ''' 102 Default values for keys that should be stored in plug-in config. 103 104 This dict is used when when someone calls for config option but it has not 105 been set yet. 106 107 Values are tuples: (default_value, option_description). The first one can 108 be anything (this is the advantage of using shelve/pickle instead of 109 custom-made config I/O handling); the second one should be unicode (gettext 110 can be used if need and/or translation is planned). 111 112 :type: {} of 2-element tuples 113 ''' 100 114 101 115 @log_calls('GajimPlugin')
