Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eta
gajim
Commits
a8f3d466
Commit
a8f3d466
authored
19 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
fix a FIXME: show Hidden instead of a password
parent
3b12546f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/advanced.py
+3
-5
3 additions, 5 deletions
src/advanced.py
with
3 additions
and
5 deletions
src/advanced.py
+
3
−
5
View file @
a8f3d466
...
...
@@ -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
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment