| Index: grit/format/policy_templates/writers/adm_writer.py
|
| ===================================================================
|
| --- grit/format/policy_templates/writers/adm_writer.py (revision 169)
|
| +++ grit/format/policy_templates/writers/adm_writer.py (working copy)
|
| @@ -71,6 +71,7 @@
|
| 'string-enum': 'DROPDOWNLIST',
|
| 'int-enum': 'DROPDOWNLIST',
|
| 'list': 'LISTBOX',
|
| + 'string-enum-list': 'LISTBOX',
|
| 'dict': 'EDITTEXT'
|
| }
|
|
|
| @@ -106,7 +107,7 @@
|
| builder.AddLine()
|
| adm_type = self.TYPE_TO_INPUT[policy['type']]
|
| builder.AddLine('PART !!%s %s' % (policy_part_name, adm_type), 1)
|
| - if policy['type'] == 'list':
|
| + if policy['type'] in ('list', 'string-enum-list'):
|
| # Note that the following line causes FullArmor ADMX Migrator to create
|
| # corrupt ADMX files. Please use admx_writer to get ADMX files.
|
| builder.AddLine('KEYNAME "%s\\%s"' % (key_name, policy['name']))
|
|
|