From 895ec7c643b2c2e6fbce4764c3bf6a73f86d34f6 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 23 Aug 2021 14:25:09 -0300 Subject: [PATCH] [gem.appimage] fix: info button remains 'clickable' after an imported Appimage is uninstalled --- CHANGELOG.md | 3 ++- bauh/gems/appimage/model.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d4f486a..a62bb571 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [0.9.19] ### Improvements - AppImage - - manual installation + - manual installation - adding generic file filter extension (.*) since some desktop environments filters are case sensitive (https://github.com/vinifmor/bauh/issues/185)[#185] - generating a default **.desktop** file based on the installation form for AppImage files that provide empty desktop entries (https://github.com/vinifmor/bauh/issues/186)[#186] ### Fixes - AppImage - search: not matching manually installed applications + - info button remains "clickable" after an imported Appimage is uninstalled ## [0.9.18] 2021-06-18 diff --git a/bauh/gems/appimage/model.py b/bauh/gems/appimage/model.py index 9d523745..c77921a0 100644 --- a/bauh/gems/appimage/model.py +++ b/bauh/gems/appimage/model.py @@ -50,7 +50,7 @@ class AppImage(SoftwarePackage): return self.installed and not self.imported def has_info(self): - return True + return self.installed if self.imported else True def can_be_downgraded(self): return self.installed and not self.imported