[improvement][flatpak] application name tooltip now displays the installation level

This commit is contained in:
Vinícius Moreira
2020-01-13 12:03:27 -03:00
parent 23941015c2
commit 8c876df7b5
5 changed files with 20 additions and 3 deletions

View File

@@ -175,6 +175,12 @@ class SoftwarePackage(ABC):
"""
return not self.installed
def get_name_tooltip(self) -> str:
"""
:return: the application name that should be displayed on the UI tooltips.
"""
return self.name
def __str__(self):
return '{} (id={}, name={})'.format(self.__class__.__name__, self.id, self.name)