From 92c53a0516462c3a6b34b357a3d8265577aef53d Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 5 Aug 2019 13:09:39 +0300 Subject: [PATCH] system management: fix number of callback arguments fixes runtime warning: TypeError: changePluginSize() takes exactly 4 arguments (3 given) looks like it was overlooked in https://github.com/linuxmint/mintmenu/commit/66f76df4d31488caa178d053dc53d52f29dca43d --- usr/lib/linuxmint/mintMenu/plugins/system_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/system_management.py b/usr/lib/linuxmint/mintMenu/plugins/system_management.py index cae13af..5b5ef8c 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/system_management.py +++ b/usr/lib/linuxmint/mintMenu/plugins/system_management.py @@ -65,7 +65,7 @@ class pluginclass(object): def wake(self): pass - def changePluginSize(self, settings, key, args): + def changePluginSize(self, settings, key): self.allowScrollbar = self.settings.get_boolean("allow-scrollbar") if key == "width": self.width = settings.get_int(key)