add ** n password entry when registering new transport

This commit is contained in:
Nikos Kouremenos 2005-05-22 11:54:09 +00:00
parent 6f6f45d07b
commit 5610a305e6
1 changed files with 2 additions and 0 deletions

View File

@ -1391,6 +1391,8 @@ class Service_registration_window:
entry = gtk.Entry() entry = gtk.Entry()
entry.set_activates_default(True) entry.set_activates_default(True)
entry.set_text(self.infos[name]) entry.set_text(self.infos[name])
if name == 'password':
entry.set_visibility(False)
table.attach(entry, 1, 2, nbrow - 1, nbrow, 0, 0, 0, 0) table.attach(entry, 1, 2, nbrow - 1, nbrow, 0, 0, 0, 0)
self.entries[name] = entry self.entries[name] = entry
if nbrow == 1: if nbrow == 1: