Changeset 9792
- Timestamp:
- 06/12/08 20:26:08 (4 months ago)
- Location:
- branches/plugin-system
- Files:
-
- 4 modified
-
data/glade/plugins_window.glade (modified) (3 diffs)
-
plugins/acronyms_expander.py (modified) (1 diff)
-
plugins/length_notifier.py (modified) (1 diff)
-
src/plugins/plugin.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin-system/data/glade/plugins_window.glade
r9762 r9792 1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 2 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd"> 3 <!--Generated with glade3 3.4.5 on Sat Jun 7 19:16:21 2008 -->3 <!--Generated with glade3 3.4.5 on Mon Jun 9 15:22:01 2008 --> 4 4 <glade-interface> 5 5 <widget class="GtkWindow" id="plugins_window"> … … 323 323 <widget class="GtkHPaned" id="hpaned2"> 324 324 <property name="visible">True</property> 325 <property name="sensitive">False</property> 325 326 <property name="can_focus">True</property> 326 327 <child> … … 556 557 <child> 557 558 <widget class="GtkLabel" id="label2"> 559 <property name="visible">True</property> 560 <property name="sensitive">False</property> 561 <property name="can_focus">True</property> 558 562 <property name="label" translatable="yes">Available</property> 559 563 </widget> -
branches/plugin-system/plugins/acronyms_expander.py
r9777 r9792 44 44 super(AcronymsExpanderPlugin, self).__init__() 45 45 46 self. __class__.gui_extension_points = {46 self.gui_extension_points = { 47 47 'chat_control_base' : (self.connect_with_chat_control_base, 48 48 self.disconnect_from_chat_control_base) -
branches/plugin-system/plugins/length_notifier.py
r9762 r9792 44 44 super(LengthNotifierPlugin, self).__init__() 45 45 46 self. __class__.gui_extension_points = {46 self.gui_extension_points = { 47 47 'chat_control' : (self.connect_with_chat_control, 48 48 self.disconnect_from_chat_control) -
branches/plugin-system/src/plugins/plugin.py
r9762 r9792 95 95 @log_calls('GajimPlugin') 96 96 def __init__(self): 97 self.config = Config() 98 ''' 99 Plug-in configuration dictionary. 100 101 Automatically saved and loaded and plug-in (un)load. 102 103 :type: `plugins.plugin.Config` 104 ''' 105 106 self._load_config() 107 108 @log_calls('GajimPlugin') 109 def _save_config(self): 97 110 pass 111 112 @log_calls('GajimPlugin') 113 def _load_config(self): 114 pass 115 116 @log_calls('GajimPlugin') 117 def __del__(self): 118 self._save_config() 119 120 121 class Config(dict): 122 pass
