From 710b95a6ac203af85ff5f95dcbf81109f3d602cb Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Sun, 8 Nov 2015 21:22:44 +0100 Subject: [PATCH] Fix app icons errors --- core-modules/000QubesVm.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index 615652db..eef88fbf 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -347,6 +347,13 @@ class QubesVm(object): # Initialize VM image storage class self.storage = get_pool(self.pool_name, self).getStorage() + self.dir_path = self.storage.vmdir + self.icon_path = os.path.join(self.storage.vmdir, 'icon.png') + self.conf_file = os.path.join(self.storage.vmdir, self.name + '.conf') + self.appmenus_templates_dir = os.path.join(self.storage.vmdir, 'apps.templates') + self.appmenus_icons_dir = os.path.join(self.storage.vmdir, 'apps.icons') + + if hasattr(self, 'kernels_dir'): modules_path = os.path.join(self.kernels_dir, "modules.img")