| Index: grit/format/policy_templates/writers/adm_writer.py
|
| diff --git a/grit/format/policy_templates/writers/adm_writer.py b/grit/format/policy_templates/writers/adm_writer.py
|
| index 3103c3e7ac74bad0dc05790ff965a160d8bfa981..6a2f8b2843d728e5c11fefd7411cd6e175174d34 100644
|
| --- a/grit/format/policy_templates/writers/adm_writer.py
|
| +++ b/grit/format/policy_templates/writers/adm_writer.py
|
| @@ -71,6 +71,7 @@ class AdmWriter(template_writer.TemplateWriter):
|
| 'string-enum': 'DROPDOWNLIST',
|
| 'int-enum': 'DROPDOWNLIST',
|
| 'list': 'LISTBOX',
|
| + 'string-enum-list': 'LISTBOX',
|
| 'dict': 'EDITTEXT'
|
| }
|
|
|
| @@ -106,7 +107,7 @@ class AdmWriter(template_writer.TemplateWriter):
|
| 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']))
|
|
|