say Hidden and not the pass in advanced

This commit is contained in:
Nikos Kouremenos 2005-09-08 09:26:46 +00:00
parent 0372f162e9
commit 96dd559748
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ class AdvancedConfigurationWindow:
type = ''
if val[OPT_TYPE]:
type = val[OPT_TYPE][0]
if name.find('password') != -1 or name.find('passphrase') != -1:
print name
val[OPT_VAL] = _('Hidden')
model.append(iter, [name, val[OPT_VAL], type])
def visible_func(self, model, iter):