fix a FIXME: show Hidden instead of a password
This commit is contained in:
parent
3b12546f0a
commit
a8f3d466cc
|
@ -176,12 +176,10 @@ class AdvancedConfigurationWindow:
|
||||||
type = ''
|
type = ''
|
||||||
if val[OPT_TYPE]:
|
if val[OPT_TYPE]:
|
||||||
type = val[OPT_TYPE][0]
|
type = val[OPT_TYPE][0]
|
||||||
|
value = val[OPT_VAL]
|
||||||
if name in ('password', 'gpgpassword'):
|
if name in ('password', 'gpgpassword'):
|
||||||
pass # FIXME: do not save Hidden as our pass!
|
value = _('Hidden') # override passwords with this string
|
||||||
# just opening once the advanced editor and then closing
|
model.append(iter, [name, value, type])
|
||||||
# f$$cks it all up
|
|
||||||
#val[OPT_VAL] = _('Hidden') # override passwords with this string
|
|
||||||
model.append(iter, [name, val[OPT_VAL], type])
|
|
||||||
|
|
||||||
def visible_func(self, model, iter):
|
def visible_func(self, model, iter):
|
||||||
str = self.entry.get_text().decode('utf-8')
|
str = self.entry.get_text().decode('utf-8')
|
||||||
|
|
Loading…
Reference in New Issue