From a8f3d466cc8a44ce01c88a5639a140b74c9dc75e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 14 Nov 2005 11:07:42 +0000 Subject: [PATCH] fix a FIXME: show Hidden instead of a password --- src/advanced.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/advanced.py b/src/advanced.py index f245df68d..30982e8ee 100644 --- a/src/advanced.py +++ b/src/advanced.py @@ -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')