system management: fix number of callback arguments
fixes runtime warning:
TypeError: changePluginSize() takes exactly 4 arguments (3 given)
looks like it was overlooked in 66f76df4d3
This commit is contained in:
parent
703068ab65
commit
92c53a0516
@ -65,7 +65,7 @@ class pluginclass(object):
|
|||||||
def wake(self):
|
def wake(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def changePluginSize(self, settings, key, args):
|
def changePluginSize(self, settings, key):
|
||||||
self.allowScrollbar = self.settings.get_boolean("allow-scrollbar")
|
self.allowScrollbar = self.settings.get_boolean("allow-scrollbar")
|
||||||
if key == "width":
|
if key == "width":
|
||||||
self.width = settings.get_int(key)
|
self.width = settings.get_int(key)
|
||||||
|
Loading…
Reference in New Issue
Block a user