diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-01-07 22:05:38 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-01-07 22:05:38 +0000 |
commit | 638bd8aee2cfac29968f820ec2cde53b99b71d29 (patch) | |
tree | aa47b1977b2a1247efdca4f6deadc00d4a6bd466 /src | |
parent | 6fa519032c0839853a8e4bcb6238f04bca6cb986 (diff) | |
download | msec-638bd8aee2cfac29968f820ec2cde53b99b71d29.tar msec-638bd8aee2cfac29968f820ec2cde53b99b71d29.tar.gz msec-638bd8aee2cfac29968f820ec2cde53b99b71d29.tar.bz2 msec-638bd8aee2cfac29968f820ec2cde53b99b71d29.tar.xz msec-638bd8aee2cfac29968f820ec2cde53b99b71d29.zip |
Fixed security option selection.
Diffstat (limited to 'src')
-rwxr-xr-x | src/msec/msecgui.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 3e5aa48..da4f958 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -857,6 +857,21 @@ class MsecGui: dialog.destroy() return + # process new parameter + if '*' in params: + newval = entry.get_text() + else: + newval = entry.get_active_text() + newval = entry.get_active_text() + dialog.destroy() + + # update options + self.config.set(param, newval) + self.authconfig.set(param, newval) + + model.set(iter, self.COLUMN_VALUE, newval) + + def auth_changed(self, treeview, path, col, model): """Processes an option change""" iter = model.get_iter(path) |