|
|
@ -1049,7 +1049,9 @@ class Interface(object): |
|
|
|
pass |
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
new_field = gtk.Entry() |
|
|
|
new_field = gtk.Entry() |
|
|
|
|
|
|
|
if option_value: |
|
|
|
new_field.set_text(option_value) |
|
|
|
new_field.set_text(option_value) |
|
|
|
|
|
|
|
|
|
|
|
# Ony "str" and "passwd" are valid type and both use Entry() |
|
|
|
# Ony "str" and "passwd" are valid type and both use Entry() |
|
|
|
if option['type'] == 'passwd': |
|
|
|
if option['type'] == 'passwd': |
|
|
|
new_field.set_visibility(False) |
|
|
|
new_field.set_visibility(False) |
|
|
|