Fix noop() prototype
Hud's noop() is called from gtk event handler, which passes additional arguments. We don't care about them but we do want to prevent HUD-error.txt from being flooded with TypeError messages.
This commit is contained in:
parent
d43954bc5f
commit
f4e6de744a
|
@ -423,7 +423,7 @@ class Stat_Window:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def noop(self): # i'm going to try to connect the focus-in and focus-out events here, to see if that fixes any of the focus problems.
|
def noop(self, *args): # i'm going to try to connect the focus-in and focus-out events here, to see if that fixes any of the focus problems.
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def kill_popup(self, popup):
|
def kill_popup(self, popup):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user