improvement: only changing the installed package status ( not refreshing the whole table ) | fix: flatpak downgrading error handling

This commit is contained in:
Vinicius Moreira
2019-09-24 15:17:09 -03:00
parent d3e5835a8b
commit 2a84ff4c32
15 changed files with 104 additions and 54 deletions

View File

@@ -21,13 +21,13 @@ class FlatpakApplication(SoftwarePackage):
return self.description is None and self.icon_url
def has_history(self):
return self.installed
return self.installed and self.ref
def has_info(self):
return self.installed
def can_be_downgraded(self):
return self.installed
return self.installed and self.ref
def get_type(self):
return 'flatpak'