[gem.appimage] fix: info button remains 'clickable' after an imported Appimage is uninstalled

This commit is contained in:
Vinicius Moreira
2021-08-23 14:25:09 -03:00
parent 8bfdf700d4
commit 895ec7c643
2 changed files with 3 additions and 2 deletions

View File

@@ -7,13 +7,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.9.19] ## [0.9.19]
### Improvements ### Improvements
- AppImage - 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] - 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] - 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 ### Fixes
- AppImage - AppImage
- search: not matching manually installed applications - search: not matching manually installed applications
- info button remains "clickable" after an imported Appimage is uninstalled
## [0.9.18] 2021-06-18 ## [0.9.18] 2021-06-18

View File

@@ -50,7 +50,7 @@ class AppImage(SoftwarePackage):
return self.installed and not self.imported return self.installed and not self.imported
def has_info(self): def has_info(self):
return True return self.installed if self.imported else True
def can_be_downgraded(self): def can_be_downgraded(self):
return self.installed and not self.imported return self.installed and not self.imported