Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Patch: password style for the "Add Server" dialog

Patch: password style for the "Add Server" dialog



The password text field in the "Add Server" dialog lacks the password style option, so the password is displayed in the clear when typed in. The attached patch fixes it.

i.
--- src/ui/common/dlgServer.xrc.old	Sun Aug 15 21:21:49 2004
+++ src/ui/common/dlgServer.xrc	Thu Sep 16 11:48:12 2004
@@ -82,6 +82,7 @@
           </object>
           <object class="wxTextCtrl" name="txtPassword">
             <pos>70,110d</pos>
+            <style>wxTE_PASSWORD</style>
             <size>135,-1d</size>
           </object>
         </object>
@@ -109,4 +110,4 @@
     <size>218,168d</size>
     <style></style>
   </object>
-</resource>
\ No newline at end of file
+</resource>


Home | Main Index | Thread Index

top