Ejemplo n.º 1
0
    def _register_handlers(self):
        """_register_handlers - attach to Leo signals
        """
        DBG("\nregister handlers")
        for hook, handler in self.handlers:
            g.registerHandler(hook, handler)

        sig.connect(self.c, 'body_changed', self._after_body_key)
Ejemplo n.º 2
0
    def _register_handlers(self):
        """_register_handlers - attach to Leo signals
        """
        DBG("\nregister handlers")
        for hook, handler in self.handlers:
            g.registerHandler(hook, handler)

        sig.connect(self.c, 'body_changed', self._after_body_key)