From e5606495314d9db78257b13525b8147c44f3bb16 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Thu, 18 Mar 2021 15:30:03 +0100 Subject: [PATCH] [modules/shell] remove obsolete event handlers modules are now automatically updated when clicked. fixes #776 --- bumblebee_status/modules/contrib/shell.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bumblebee_status/modules/contrib/shell.py b/bumblebee_status/modules/contrib/shell.py index 9d75a60..566de42 100644 --- a/bumblebee_status/modules/contrib/shell.py +++ b/bumblebee_status/modules/contrib/shell.py @@ -50,10 +50,6 @@ class Module(core.module.Module): if self.parameter("scrolling.makewide") is None: self.set("scrolling.makewide", False) - # LMB and RMB will update output regardless of timer - core.input.register(self, button=core.input.LEFT_MOUSE, cmd=self.update) - core.input.register(self, button=core.input.RIGHT_MOUSE, cmd=self.update) - def set_output(self, value): self.__output = value