22 lines
1.1 KiB
Diff
Executable file
22 lines
1.1 KiB
Diff
Executable file
Subject: [PATCH] Add support for stateful Tor sessions
|
|
---
|
|
Index: gui/__main__.py
|
|
<+>UTF-8
|
|
===================================================================
|
|
diff --git a/gui/__main__.py b/gui/__main__.py
|
|
--- a/gui/__main__.py (revision 134e5e6970b158ad64adb8ad064af684bfc563af)
|
|
+++ b/gui/__main__.py (date 1768622929340)
|
|
@@ -403,6 +403,13 @@
|
|
connection_observer.subscribe('connecting', lambda event: self.update_status(
|
|
f'[{event.subject.get("attempt_count")}/{event.subject.get("maximum_number_of_attempts")}] Performing connection attempt...'))
|
|
|
|
+ connection_observer.subscribe('tor_bootstrapping', lambda event: self.update_status('Establishing Tor connection...'))
|
|
+
|
|
+ connection_observer.subscribe('tor_bootstrap_progressing', lambda event: self.update_status(
|
|
+ f'Bootstrapping Tor {event.meta.get('progress'):.2f}%'))
|
|
+
|
|
+ connection_observer.subscribe('tor_bootstrapped', lambda event: self.update_status('Tor connection established.'))
|
|
+
|
|
self.setFixedSize(800, 570)
|
|
self.central_widget = QWidget(self)
|
|
self.central_widget.setMaximumSize(800, 600)
|