diff --git a/CHANGELOG.md b/CHANGELOG.md
index a41513aa..2c94e502 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- new option to disable the reboot dialog after a successful upgrade (`updates.ask_for_reboot`)
### UI
- icons, buttons and colors changes
+ - removed more unnecessary **x** buttons from some dialogs
### i18n contributors
- Turkish (tr): [tuliana](https://github.com/tulliana)
diff --git a/bauh/api/abstract/handler.py b/bauh/api/abstract/handler.py
index 3fe9a9d1..b1249191 100644
--- a/bauh/api/abstract/handler.py
+++ b/bauh/api/abstract/handler.py
@@ -18,7 +18,7 @@ class ProcessWatcher:
pass
def request_confirmation(self, title: str, body: str, components: List[ViewComponent] = None, confirmation_label: str = None,
- deny_label: str = None, deny_button: bool = True, window_cancel: bool = True) -> bool:
+ deny_label: str = None, deny_button: bool = True, window_cancel: bool = False) -> bool:
"""
request a user confirmation. In the current GUI implementation, it shows a popup to the user.
:param title: popup title
diff --git a/bauh/gems/appimage/resources/img/upgrade.svg b/bauh/gems/appimage/resources/img/upgrade.svg
index 72d53637..b4f5a482 100644
--- a/bauh/gems/appimage/resources/img/upgrade.svg
+++ b/bauh/gems/appimage/resources/img/upgrade.svg
@@ -23,7 +23,7 @@
image/svg+xml
-
+
@@ -44,7 +44,7 @@
showgrid="false"
showborder="false"
inkscape:zoom="3.2091769"
- inkscape:cx="-43.249858"
+ inkscape:cx="-13.285588"
inkscape:cy="-0.030460959"
inkscape:window-x="0"
inkscape:window-y="0"
@@ -57,17 +57,17 @@
+ style="fill:none;fill-opacity:1;stroke:#91a069;stroke-width:1.35746789;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
+ style="fill:none;fill-opacity:1;stroke:#91a069;stroke-width:1.35746789;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ style="fill:none;fill-opacity:1;stroke:#91a069;stroke-width:1.35746789;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
bool:
+ confirmation_label: str = None, deny_label: str = None, deny_button: bool = True, window_cancel: bool = False) -> bool:
self.wait_confirmation = True
self.signal_confirmation.emit({'title': title, 'body': body, 'components': components, 'confirmation_label': confirmation_label, 'deny_label': deny_label, 'deny_button': deny_button, 'window_cancel': window_cancel})
self.wait_user()
diff --git a/bauh/view/qt/window.py b/bauh/view/qt/window.py
index b16f9fa5..4765ff46 100755
--- a/bauh/view/qt/window.py
+++ b/bauh/view/qt/window.py
@@ -1193,7 +1193,7 @@ class ManageWindow(QWidget):
def execute_custom_action(self, pkg: PackageView, action: CustomSoftwareAction):
if pkg is None and not dialog.ask_confirmation(title=self.i18n['confirmation'].capitalize(),
- body=self.i18n['custom_action.proceed_with'].capitalize().format('"{}"'.format(self.i18n[action.i18_label_key].capitalize())),
+ body=self.i18n['custom_action.proceed_with'].capitalize().format('"{}"'.format(self.i18n[action.i18_label_key])),
icon=QIcon(action.icon_path) if action.icon_path else QIcon(resource.get_path('img/logo.svg')),
i18n=self.i18n):
return False