mirror of
https://github.com/onionshare/onionshare.git
synced 2025-09-21 04:54:47 -04:00
Make receive mode events just like share mode, and rename REQUEST_DOWNLOAD to REQUEST_SHARE
This commit is contained in:
parent
de43cd22fa
commit
26a94fa161
5 changed files with 52 additions and 19 deletions
|
@ -105,6 +105,7 @@ class ReceiveMode(Mode):
|
|||
Starting the server.
|
||||
"""
|
||||
# Reset web counters
|
||||
self.web.upload_count = 0
|
||||
self.web.error404_count = 0
|
||||
|
||||
# Hide and reset the uploads if we have previously shared
|
||||
|
@ -118,6 +119,12 @@ class ReceiveMode(Mode):
|
|||
self.starting_server_step3.emit()
|
||||
self.start_server_finished.emit()
|
||||
|
||||
def handle_tor_broke_custom(self):
|
||||
"""
|
||||
Connection to Tor broke.
|
||||
"""
|
||||
self.info_widget.hide()
|
||||
|
||||
def handle_request_load(self, event):
|
||||
"""
|
||||
Handle REQUEST_LOAD event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue