mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-19 20:14:13 -04:00
Fix some lingering attribute/module references that had not been updated to use their new names/paths
This commit is contained in:
parent
8658589b2d
commit
7e7611bc34
2 changed files with 3 additions and 3 deletions
|
@ -560,7 +560,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||||
self.primary_action.hide()
|
self.primary_action.hide()
|
||||||
self.info_widget.hide()
|
self.info_widget.hide()
|
||||||
self.status_bar.showMessage(strings._('gui_tor_connection_lost', True))
|
self.status_bar.showMessage(strings._('gui_tor_connection_lost', True))
|
||||||
if self.systemTray.supportsMessages() and self.settings.get('systray_notifications'):
|
if self.systemTray.supportsMessages() and self.common.settings.get('systray_notifications'):
|
||||||
self.systemTray.showMessage(strings._('gui_tor_connection_lost', True), strings._('gui_tor_connection_error_settings', True))
|
self.systemTray.showMessage(strings._('gui_tor_connection_lost', True), strings._('gui_tor_connection_error_settings', True))
|
||||||
|
|
||||||
# scroll to the bottom of the dl progress bar log pane
|
# scroll to the bottom of the dl progress bar log pane
|
||||||
|
@ -585,7 +585,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||||
|
|
||||||
elif event["type"] == self.web.REQUEST_DOWNLOAD:
|
elif event["type"] == self.web.REQUEST_DOWNLOAD:
|
||||||
self.downloads.no_downloads_label.hide()
|
self.downloads.no_downloads_label.hide()
|
||||||
self.downloads.add_download(event["data"]["id"], web.zip_filesize)
|
self.downloads.add_download(event["data"]["id"], self.web.zip_filesize)
|
||||||
self.new_download = True
|
self.new_download = True
|
||||||
self.downloads_in_progress += 1
|
self.downloads_in_progress += 1
|
||||||
self.update_downloads_in_progress(self.downloads_in_progress)
|
self.update_downloads_in_progress(self.downloads_in_progress)
|
||||||
|
|
|
@ -716,7 +716,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
||||||
self.common.log('SettingsDialog', 'save_clicked', 'rebooting the Onion')
|
self.common.log('SettingsDialog', 'save_clicked', 'rebooting the Onion')
|
||||||
self.onion.cleanup()
|
self.onion.cleanup()
|
||||||
|
|
||||||
tor_con = TorConnectionDialog(self.qtapp, settings, self.onion)
|
tor_con = TorConnectionDialog(self.common, self.qtapp, self.onion, settings)
|
||||||
tor_con.start()
|
tor_con.start()
|
||||||
|
|
||||||
self.common.log('SettingsDialog', 'save_clicked', 'Onion done rebooting, connected to Tor: {}'.format(self.onion.connected_to_tor))
|
self.common.log('SettingsDialog', 'save_clicked', 'Onion done rebooting, connected to Tor: {}'.format(self.onion.connected_to_tor))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue