From f087178f774504ec3dec6af72f228ac241e9b03f Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Thu, 5 Sep 2002 12:12:56 +0000 Subject: allow_user_list: lookup ShowUsers in the X-*-Greeter section of kdmrc. --- share/libmsec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/libmsec.py b/share/libmsec.py index 8115244..bc5d39a 100644 --- a/share/libmsec.py +++ b/share/libmsec.py @@ -393,7 +393,7 @@ def allow_user_list(arg): kdmrc = ConfigFile.get_config_file(KDMRC) gdmconf = ConfigFile.get_config_file(GDMCONF) - oldval_kdmrc = kdmrc.exists() and kdmrc.get_shell_variable('ShowUsers') + oldval_kdmrc = kdmrc.exists() and kdmrc.get_shell_variable('ShowUsers', 'X-\*-Greeter', '^\s*$') oldval_gdmconf = gdmconf.exists() and gdmconf.get_shell_variable('Browser') if arg: @@ -416,7 +416,7 @@ def allow_user_list(arg): if (gdmconf.exists() and oldval_gdmconf != val_gdmconf) or (kdmrc.exists() and oldval_kdmrc != val_kdmrc): _interactive and log(_(msg)) - oldval_kdmrc != val_gdmconf and kdmrc.exists() and kdmrc.set_shell_variable('ShowUsers', val_kdmrc) + oldval_kdmrc != val_gdmconf and kdmrc.exists() and kdmrc.set_shell_variable('ShowUsers', val_kdmrc, 'X-\*-Greeter', '^\s*$') oldval_gdmconf != val_gdmconf and gdmconf.exists() and gdmconf.set_shell_variable('Browser', val_gdmconf) allow_user_list.arg_trans = YES_NO_TRANS -- cgit v1.2.1