From d41f04e74e7c676ac10d3a6416f57091d94f6c00 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 3 Nov 2021 15:16:28 -0300 Subject: [PATCH] [appimage] improvement: not displaying 'imported' besides the imported application name on the table (only for the name tip) --- CHANGELOG.md | 3 +++ bauh/gems/appimage/model.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58a9c9d3..2bf9a34a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [0.9.20] ### Improvements +- AppImage: + - not displaying "imported" besides the imported application name on the table (only for the name tip) + - UI: - always displaying the "any file filter" (*) as the last option for file chooser components [#193](https://github.com/vinifmor/bauh/issues/193) diff --git a/bauh/gems/appimage/model.py b/bauh/gems/appimage/model.py index c77921a0..880268c2 100644 --- a/bauh/gems/appimage/model.py +++ b/bauh/gems/appimage/model.py @@ -102,7 +102,7 @@ class AppImage(SoftwarePackage): def has_screenshots(self): 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: return '{} ({})'.format(self.name, self.i18n['imported'])