mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Remove redundant redraw method
This commit is contained in:
parent
7cc1f1bfc0
commit
94bba97a45
@ -232,13 +232,6 @@ class BrowserWindow:
|
||||
def reload(self):
|
||||
self.browser.farmer.tell_monkey("WINDOW RELOAD %s" % self.winid)
|
||||
|
||||
def redraw(self, coords=None):
|
||||
if coords is None:
|
||||
self.browser.farmer.tell_monkey("WINDOW REDRAW %s" % self.winid)
|
||||
else:
|
||||
self.browser.farmer.tell_monkey("WINDOW REDRAW %s %s" % (
|
||||
self.winid, (" ".join(coords))))
|
||||
|
||||
def handle(self, action, *args):
|
||||
handler = getattr(self, "handle_window_" + action, None)
|
||||
if handler is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user