Fix app icons errors

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2015-11-08 21:22:44 +01:00
parent 76224dac86
commit 710b95a6ac

View File

@ -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")