From bab8e699d72d02850a03bd9d5618689da061dc15 Mon Sep 17 00:00:00 2001 From: WillyPillow Date: Mon, 6 Jul 2020 01:16:43 +0800 Subject: [PATCH] Change "whitelist" to "menu-items" in qvm-features for clarity. --- qubesadmin/tools/qvm_template_postprocess.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 qubesadmin/tools/qvm_template_postprocess.py diff --git a/qubesadmin/tools/qvm_template_postprocess.py b/qubesadmin/tools/qvm_template_postprocess.py old mode 100755 new mode 100644 index 7351266..568cfde --- a/qubesadmin/tools/qvm_template_postprocess.py +++ b/qubesadmin/tools/qvm_template_postprocess.py @@ -160,14 +160,14 @@ def import_appmenus(vm, source_dir): # name according to the FreeDesktop spec with open(os.path.join(source_dir, 'vm-whitelisted-appmenus.list'), 'r') \ as f: - vm.features['default-whitelist'] = ' '.join([x.rstrip() for x in f]) + vm.features['default-menu-items'] = ' '.join([x.rstrip() for x in f]) with open(os.path.join(source_dir, 'whitelisted-appmenus.list'), 'r') \ as f: - vm.features['whitelist'] = ' '.join([x.rstrip() for x in f]) + vm.features['menu-items'] = ' '.join([x.rstrip() for x in f]) with open( os.path.join(source_dir, 'netvm-whitelisted-appmenus.list'), 'r') \ as f: - vm.features['netvm-whitelist'] = ' '.join([x.rstrip() for x in f]) + vm.features['netvm-menu-items'] = ' '.join([x.rstrip() for x in f]) # TODO: change this to qrexec calls to GUI VM, when GUI VM will be # implemented