/[circus]/circus/circus/module.py
ViewVC logotype

Diff of /circus/circus/module.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by tvon, Sun Nov 17 23:11:15 2002 UTC revision 1.9 by tvon, Sun Nov 17 23:47:12 2002 UTC
# Line 35  class Module: Line 35  class Module:
35      # Set in __load(), values taken from Ringmaster      # Set in __load(), values taken from Ringmaster
36      config = None      config = None
37      display = None      display = None
38        wm_actions = None
39    
40      # set by Ringmaster just prior to _load() being called      # set by Ringmaster just prior to _load() being called
41      name = None      name = None
# Line 56  class Module: Line 57  class Module:
57      def unload(self):      def unload(self):
58          sys.stderr.write("This method should be overloaded by the plugin\n")          sys.stderr.write("This method should be overloaded by the plugin\n")
59    
60      def _load(self, config, display):      def _load(self, config, display, wm_actions):
61          sys.stderr.write("Loading module: " + self.name + "\n")          sys.stderr.write("Loading module: " + self.name + "\n")
62          self.config = config          self.config = config
63          self.display = display          self.display = display
64            self.wm_actions = wm_actions
65          self.load()          self.load()
66    
67      def _unload(self):      def _unload(self):

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26