mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-07 14:28:15 +03:00
Rename APP().torRelaySettingsWidget to APP().TorRelayWidget
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -474,7 +474,7 @@ class ConnectAction(Action):
|
||||
@property
|
||||
def torRelayStorageObj(self):
|
||||
# Handy reference
|
||||
return APP().torRelaySettingsWidget.StorageObj
|
||||
return APP().TorRelayWidget.StorageObj
|
||||
|
||||
def configureCore(self):
|
||||
def validateHttpsProxyServer(server):
|
||||
|
||||
@@ -117,7 +117,7 @@ class TorRelaySettingsChildAction(Action):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def triggeredCallback(self, checked):
|
||||
APP().torRelaySettingsWidget.open()
|
||||
APP().TorRelayWidget.open()
|
||||
|
||||
|
||||
class SettingsAction(Action):
|
||||
|
||||
@@ -55,7 +55,7 @@ class TorRelayStarter(AsyncSubprocessMessage):
|
||||
@property
|
||||
def torRelayStorageObj(self):
|
||||
# Handy reference
|
||||
return APP().torRelaySettingsWidget.StorageObj
|
||||
return APP().TorRelayWidget.StorageObj
|
||||
|
||||
@staticmethod
|
||||
@functools.lru_cache(None)
|
||||
|
||||
@@ -208,7 +208,7 @@ class TorRelaySettingsStorage:
|
||||
if ob is None:
|
||||
# Object is up-to-date
|
||||
APP().TorRelaySettings = TorRelaySettingsStorage.toStorage(
|
||||
APP().torRelaySettingsWidget.StorageObj
|
||||
APP().TorRelayWidget.StorageObj
|
||||
)
|
||||
else:
|
||||
# Object is up-to-date
|
||||
|
||||
@@ -172,7 +172,7 @@ class Application(SingletonApplication):
|
||||
self.ServerWidget = None
|
||||
self.RoutesWidget = None
|
||||
self.SubscriptionWidget = None
|
||||
self.torRelaySettingsWidget = None
|
||||
self.TorRelayWidget = None
|
||||
|
||||
def __getattr__(self, key):
|
||||
try:
|
||||
@@ -273,7 +273,7 @@ class Application(SingletonApplication):
|
||||
self.ServerWidget = EditConfigurationWidget()
|
||||
self.RoutesWidget = EditRoutingWidget()
|
||||
self.SubscriptionWidget = EditSubscriptionWidget()
|
||||
self.torRelaySettingsWidget = TorRelaySettingsWidget()
|
||||
self.TorRelayWidget = TorRelaySettingsWidget()
|
||||
|
||||
self.tray = SystemTrayIcon()
|
||||
self.tray.show()
|
||||
|
||||
Reference in New Issue
Block a user