mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-28 10:52:08 -04:00
Merge branch 'develop' of github.com:micahflee/onionshare into chat
This commit is contained in:
commit
41681f82ec
25 changed files with 316 additions and 70 deletions
|
@ -338,7 +338,7 @@ class Tab(QtWidgets.QWidget):
|
|||
strings._("gui_status_indicator_share_stopped")
|
||||
)
|
||||
elif self.share_mode.server_status.status == ServerStatus.STATUS_WORKING:
|
||||
if self.share_mode.server_status.autostart_timer_datetime:
|
||||
if self.settings.get("general", "autostart_timer"):
|
||||
self.set_server_status_indicator_working(
|
||||
strings._("gui_status_indicator_share_scheduled")
|
||||
)
|
||||
|
@ -357,9 +357,14 @@ class Tab(QtWidgets.QWidget):
|
|||
strings._("gui_status_indicator_share_stopped")
|
||||
)
|
||||
elif self.website_mode.server_status.status == ServerStatus.STATUS_WORKING:
|
||||
self.set_server_status_indicator_working(
|
||||
strings._("gui_status_indicator_share_working")
|
||||
)
|
||||
if self.website_mode.server_status.autostart_timer_datetime:
|
||||
self.set_server_status_indicator_working(
|
||||
strings._("gui_status_indicator_share_scheduled")
|
||||
)
|
||||
else:
|
||||
self.set_server_status_indicator_working(
|
||||
strings._("gui_status_indicator_share_working")
|
||||
)
|
||||
elif self.website_mode.server_status.status == ServerStatus.STATUS_STARTED:
|
||||
self.set_server_status_indicator_started(
|
||||
strings._("gui_status_indicator_share_started")
|
||||
|
@ -371,7 +376,7 @@ class Tab(QtWidgets.QWidget):
|
|||
strings._("gui_status_indicator_receive_stopped")
|
||||
)
|
||||
elif self.receive_mode.server_status.status == ServerStatus.STATUS_WORKING:
|
||||
if self.receive_mode.server_status.autostart_timer_datetime:
|
||||
if self.settings.get("general", "autostart_timer"):
|
||||
self.set_server_status_indicator_working(
|
||||
strings._("gui_status_indicator_receive_scheduled")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue