arch: handling packages with a desktop entry as applications

This commit is contained in:
Vinicius Moreira
2019-09-13 22:11:13 -03:00
parent 4ff7d3d84a
commit f6f66e9dbd
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ class ArchPackage(SoftwarePackage):
return resource.get_path('img/arch.png', ROOT_DIR) # TODO change icon when from mirrors return resource.get_path('img/arch.png', ROOT_DIR) # TODO change icon when from mirrors
def is_application(self): def is_application(self):
return True return self.can_be_run()
def supports_disk_cache(self): def supports_disk_cache(self):
return True return True

View File

@@ -66,4 +66,4 @@ class FlatpakApplication(SoftwarePackage):
return self.installed and not self.runtime return self.installed and not self.runtime
def get_publisher(self): def get_publisher(self):
return 'Flathub' return self.origin