Renamed Mode.handle_request_download to handle_request_started

This commit is contained in:
Micah Lee 2018-05-07 22:16:45 -07:00
parent 591e97a57a
commit 9d557d4aa0
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
3 changed files with 3 additions and 3 deletions

View File

@ -293,7 +293,7 @@ class Mode(QtWidgets.QWidget):
""" """
pass pass
def handle_request_download(self, event): def handle_request_started(self, event):
""" """
Handle REQUEST_STARTED event. Handle REQUEST_STARTED event.
""" """

View File

@ -373,7 +373,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
mode.handle_request_load(event) mode.handle_request_load(event)
elif event["type"] == Web.REQUEST_STARTED: elif event["type"] == Web.REQUEST_STARTED:
mode.handle_request_download(event) mode.handle_request_started(event)
elif event["type"] == Web.REQUEST_RATE_LIMIT: elif event["type"] == Web.REQUEST_RATE_LIMIT:
mode.handle_request_rate_limit(event) mode.handle_request_rate_limit(event)

View File

@ -235,7 +235,7 @@ class ShareMode(Mode):
""" """
self.system_tray.showMessage(strings._('systray_page_loaded_title', True), strings._('systray_download_page_loaded_message', True)) 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. Handle REQUEST_STARTED event.
""" """