mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 17:05:16 -04:00
Start making Web events actually put Upload objects into Uploads
This commit is contained in:
parent
9d557d4aa0
commit
eb3d6f2171
6 changed files with 142 additions and 92 deletions
|
@ -387,6 +387,12 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
elif event["type"] == Web.REQUEST_CLOSE_SERVER:
|
||||
mode.handle_request_close_server(event)
|
||||
|
||||
elif event["type"] == Web.REQUEST_UPLOAD_NEW_FILE_STARTED:
|
||||
mode.handle_request_upload_new_file_started(event)
|
||||
|
||||
elif event["type"] == Web.REQUEST_UPLOAD_FILE_RENAMED:
|
||||
mode.handle_request_upload_file_renamed(event)
|
||||
|
||||
elif event["path"] != '/favicon.ico':
|
||||
self.status_bar.showMessage('[#{0:d}] {1:s}: {2:s}'.format(mode.web.error404_count, strings._('other_page_loaded', True), event["path"]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue