mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[improvement][flatpak] application name tooltip now displays the installation level
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user