mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 06:55:09 -04:00
Merge branch 'ux-update' of https://github.com/micahflee/onionshare into ux_update_fix_shutdown_timer
This commit is contained in:
commit
ed179922d4
15 changed files with 214 additions and 120 deletions
|
@ -127,10 +127,15 @@ class ServerStatus(QtWidgets.QWidget):
|
|||
if self.status == self.STATUS_STARTED:
|
||||
self.url_description.show()
|
||||
|
||||
if self.settings.get('close_after_first_download'):
|
||||
if self.settings.get('save_private_key'):
|
||||
self.url_label.setText(strings._('gui_url_label_persistent', True))
|
||||
self.url_label.setToolTip(strings._('gui_url_persistence_warning', True))
|
||||
elif self.settings.get('close_after_first_download'):
|
||||
self.url_label.setText(strings._('gui_url_label_one_time', True))
|
||||
self.url_label.setToolTip('')
|
||||
else:
|
||||
self.url_label.setText(strings._('gui_url_label', True))
|
||||
self.url_label.setToolTip('')
|
||||
self.url_label.show()
|
||||
|
||||
self.url.setText('http://{0:s}/{1:s}'.format(self.app.onion_host, self.web.slug))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue