[appimage] improvement: not displaying 'imported' besides the imported application name on the table (only for the name tip)

This commit is contained in:
Vinicius Moreira
2021-11-03 15:16:28 -03:00
parent d9d647fdbf
commit d41f04e74e
2 changed files with 4 additions and 1 deletions

View File

@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.9.20] ## [0.9.20]
### Improvements ### Improvements
- AppImage:
- not displaying "imported" besides the imported application name on the table (only for the name tip)
- UI: - UI:
- always displaying the "any file filter" (*) as the last option for file chooser components [#193](https://github.com/vinifmor/bauh/issues/193) - always displaying the "any file filter" (*) as the last option for file chooser components [#193](https://github.com/vinifmor/bauh/issues/193)

View File

@@ -102,7 +102,7 @@ class AppImage(SoftwarePackage):
def has_screenshots(self): def has_screenshots(self):
return not self.installed and self.url_screenshot return not self.installed and self.url_screenshot
def get_display_name(self) -> str: def get_name_tooltip(self) -> str:
if self.name and self.imported: if self.name and self.imported:
return '{} ({})'.format(self.name, self.i18n['imported']) return '{} ({})'.format(self.name, self.i18n['imported'])