From 055912710a4e087b75a0218db03b9c4af7a03600 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 4 Aug 2012 00:32:31 +0200 Subject: [PATCH] appmenus: use generic method to refresh appmenus Do not hardcode core script with args in qubes-manager. Actually arguments were wrong... --- qubesmanager/appmenu_select.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesmanager/appmenu_select.py b/qubesmanager/appmenu_select.py index f70252d..4c67cdf 100755 --- a/qubesmanager/appmenu_select.py +++ b/qubesmanager/appmenu_select.py @@ -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)