From f8276024c031822c4a9b670376fd6cce508d8b7d Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 1 Oct 2020 16:40:44 -0300 Subject: [PATCH] [flatpak] fix -> not displaying the runtimes icons on the summary window --- CHANGELOG.md | 2 ++ bauh/gems/flatpak/model.py | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3fda9b5..2fb3d665 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - sometimes crashing when there are packages to be removed - AppImage - "Checking symlinks" initial task hanging if an installed AppImage data does not contain the installed directory field ('install_dir') +- Flatpak + - not displaying the runtimes icons on the summary window ## [0.9.7] 2020-09-11 ### Features diff --git a/bauh/gems/flatpak/model.py b/bauh/gems/flatpak/model.py index aa00e256..16c2506a 100644 --- a/bauh/gems/flatpak/model.py +++ b/bauh/gems/flatpak/model.py @@ -120,3 +120,7 @@ class FlatpakApplication(SoftwarePackage): def __eq__(self, other): if isinstance(other, FlatpakApplication): return self.id == other.id and self.installation == other.installation and self.branch == other.branch + + def get_disk_icon_path(self) -> str: + if not self.runtime: + return super(FlatpakApplication, self).get_disk_icon_path()