Skip to content
Snippets Groups Projects
Commit a8f3d466 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix a FIXME: show Hidden instead of a password

parent 3b12546f
No related branches found
No related tags found
No related merge requests found
......@@ -176,12 +176,10 @@ class AdvancedConfigurationWindow:
type = ''
if val[OPT_TYPE]:
type = val[OPT_TYPE][0]
value = val[OPT_VAL]
if name in ('password', 'gpgpassword'):
pass # FIXME: do not save Hidden as our pass!
# just opening once the advanced editor and then closing
# f$$cks it all up
#val[OPT_VAL] = _('Hidden') # override passwords with this string
model.append(iter, [name, val[OPT_VAL], type])
value = _('Hidden') # override passwords with this string
model.append(iter, [name, value, type])
def visible_func(self, model, iter):
str = self.entry.get_text().decode('utf-8')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment