mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Renamed Mode.handle_request_download to handle_request_started
This commit is contained in:
parent
591e97a57a
commit
9d557d4aa0
@ -293,7 +293,7 @@ class Mode(QtWidgets.QWidget):
|
||||
"""
|
||||
pass
|
||||
|
||||
def handle_request_download(self, event):
|
||||
def handle_request_started(self, event):
|
||||
"""
|
||||
Handle REQUEST_STARTED event.
|
||||
"""
|
||||
|
@ -373,7 +373,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||
mode.handle_request_load(event)
|
||||
|
||||
elif event["type"] == Web.REQUEST_STARTED:
|
||||
mode.handle_request_download(event)
|
||||
mode.handle_request_started(event)
|
||||
|
||||
elif event["type"] == Web.REQUEST_RATE_LIMIT:
|
||||
mode.handle_request_rate_limit(event)
|
||||
|
@ -235,7 +235,7 @@ class ShareMode(Mode):
|
||||
"""
|
||||
self.system_tray.showMessage(strings._('systray_page_loaded_title', True), strings._('systray_download_page_loaded_message', True))
|
||||
|
||||
def handle_request_download(self, event):
|
||||
def handle_request_started(self, event):
|
||||
"""
|
||||
Handle REQUEST_STARTED event.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user