From 7aaf0565cc5a4d4aa989ec4ed7ad99f140969e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Tue, 18 Feb 2020 10:46:17 -0300 Subject: [PATCH] [fix][aur] package name tooltip was displaying only the repository ( table row ) --- CHANGELOG.md | 2 ++ bauh/gems/arch/model.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d689280f..e0289fb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixes - Snap - not able to launch applications on some distros ( e.g: OpenSuse ) +- AUR + - package name tooltip was displaying only the repository ( table row ) - UI - not displaying some priority search results at the top of the table diff --git a/bauh/gems/arch/model.py b/bauh/gems/arch/model.py index 437b34b3..37d3a3b7 100644 --- a/bauh/gems/arch/model.py +++ b/bauh/gems/arch/model.py @@ -125,7 +125,7 @@ class ArchPackage(SoftwarePackage): return False def get_name_tooltip(self) -> str: - return '{}: {}'.format(self.i18n['repository'], self.mirror) + return '{} ( {}: {} )'.format(self.name, self.i18n['repository'], self.mirror) def __str__(self): return self.__repr__()