appmenus: use generic method to refresh appmenus

Do not hardcode core script with args in qubes-manager. Actually arguments were
wrong...
This commit is contained in:
Marek Marczykowski 2012-08-04 00:32:31 +02:00
parent e5b070646b
commit 055912710a

View File

@ -131,6 +131,6 @@ class AppmenuSelectManager:
def save_appmenu_select_changes(self):
if self.save_list_of_selected():
subprocess.check_call([qubes_appmenu_remove_cmd, self.vm.name])
subprocess.check_call([qubes_appmenu_create_cmd, self.source_vm.appmenus_templates_dir, self.vm.name])
self.vm.remove_appmenus()
self.vm.cretae_appmenus(verbose=False)