mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 03:37:28 -03:00
Remove on_reload_settings()
This commit is contained in:
parent
a96991713b
commit
bde2db3879
4 changed files with 0 additions and 32 deletions
|
@ -149,11 +149,5 @@ class ChatMode(Mode):
|
|||
"""
|
||||
self.primary_action.hide()
|
||||
|
||||
def on_reload_settings(self):
|
||||
"""
|
||||
We should be ok to re-enable the 'Start Receive Mode' button now.
|
||||
"""
|
||||
self.primary_action.show()
|
||||
|
||||
def update_primary_action(self):
|
||||
self.common.log("ChatMode", "update_primary_action")
|
||||
|
|
|
@ -409,12 +409,6 @@ class ReceiveMode(Mode):
|
|||
self.history.in_progress_count -= 1
|
||||
self.history.update_in_progress()
|
||||
|
||||
def on_reload_settings(self):
|
||||
"""
|
||||
We should be ok to re-enable the 'Start Receive Mode' button now.
|
||||
"""
|
||||
self.primary_action.show()
|
||||
|
||||
def reset_info_counters(self):
|
||||
"""
|
||||
Set the info counters back to zero.
|
||||
|
|
|
@ -362,16 +362,6 @@ class ShareMode(Mode):
|
|||
strings._("systray_share_canceled_message"),
|
||||
)
|
||||
|
||||
def on_reload_settings(self):
|
||||
"""
|
||||
If there were some files listed for sharing, we should be ok to re-enable
|
||||
the 'Start Sharing' button now.
|
||||
"""
|
||||
if self.server_status.file_selection.get_num_files() > 0:
|
||||
self.primary_action.show()
|
||||
self.info_label.show()
|
||||
self.remove_all_button.show()
|
||||
|
||||
def update_primary_action(self):
|
||||
self.common.log("ShareMode", "update_primary_action")
|
||||
|
||||
|
|
|
@ -317,16 +317,6 @@ class WebsiteMode(Mode):
|
|||
"""
|
||||
self.primary_action.hide()
|
||||
|
||||
def on_reload_settings(self):
|
||||
"""
|
||||
If there were some files listed for sharing, we should be ok to re-enable
|
||||
the 'Start Sharing' button now.
|
||||
"""
|
||||
if self.server_status.file_selection.get_num_files() > 0:
|
||||
self.primary_action.show()
|
||||
self.info_label.show()
|
||||
self.remove_all_button.show()
|
||||
|
||||
def update_primary_action(self):
|
||||
self.common.log("WebsiteMode", "update_primary_action")
|
||||
|
||||
|
|
Loading…
Reference in a new issue