xpra icon
Bug tracker and wiki

Ticket #2058: pd.txt

File pd.txt, 613 bytes (added by Nathan Hallquist, 2 years ago)
Line 
1Index: xpra/client/gtk_base/pass_dialog.py
2===================================================================
3--- xpra/client/gtk_base/pass_dialog.py (revision 21058)
4+++ xpra/client/gtk_base/pass_dialog.py (working copy)
5@@ -83,6 +83,9 @@
6         def btn_clicked(*_args):
7             log("%s button clicked, returning %s", label, code)
8             self.exit_code = code
9+            if code == 0:
10+                sys.stdout.write(self.password_input.get_text())
11+                sys.stdout.flush()
12             self.quit()
13         btn.set_size_request(100, 48)
14         btn.connect("clicked", btn_clicked)