From 3e737970903b57dea65a683e293f0968131c0c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Moreira?= Date: Fri, 17 Apr 2020 16:48:01 -0300 Subject: [PATCH] [fix][arch] wrong uninstall dialog title --- CHANGELOG.md | 5 +++++ bauh/__init__.py | 2 +- bauh/gems/arch/controller.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0666dcb9..6f2bf026 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [0.9.1] +### Fixes +- Arch + - wrong dialog titles + ## [0.9.0] - 2020-04-15 ### Features - Backup diff --git a/bauh/__init__.py b/bauh/__init__.py index 1bfebade..22d8b479 100644 --- a/bauh/__init__.py +++ b/bauh/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.9.0' +__version__ = '0.9.1' __app_name__ = 'bauh' import os diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index b3d43282..3a8b744f 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -804,7 +804,7 @@ class ArchManager(SoftwareManager): msg = '

{}

{}

'.format(self.i18n['arch.uninstall.required_by'].format(bold(context.name), bold(str(len(reqs)))), self.i18n['arch.uninstall.required_by.advice']) - if not context.watcher.request_confirmation(title=self.i18n['action.not_allowed'].capitalize(), + if not context.watcher.request_confirmation(title=self.i18n['confirmation'].capitalize(), body=msg, components=[reqs_select], confirmation_label=self.i18n['proceed'].capitalize(),