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:
Mika Bostrom 2009-08-23 10:18:06 +03:00
parent d43954bc5f
commit f4e6de744a

View File

@ -423,7 +423,7 @@ class Stat_Window:
return True
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
def kill_popup(self, popup):