Commit 9942abd3 authored by Alan's avatar Alan

ASP: add explanation to package removing confirmation dialogs

Will-fix: #15578
parent 381c11ba
......@@ -91,8 +91,9 @@ class ASPConfigApplicationWindow(Gtk.ApplicationWindow):
Gtk.DialogFlags.DESTROY_WITH_PARENT,
Gtk.MessageType.QUESTION,
Gtk.ButtonsType.NONE,
_("Remove {package} from your additional "
"software?").format(package=package_name))
_("Remove {package} from your additional software? "
"This will stop installing the package "
"automatically.").format(package=package_name))
dialog.add_button(Gtk.STOCK_CANCEL, Gtk.ResponseType.REJECT)
dialog.add_button(Gtk.STOCK_REMOVE, Gtk.ResponseType.ACCEPT)
if dialog.run() == Gtk.ResponseType.ACCEPT:
......
......@@ -337,7 +337,8 @@ def handle_removed_packages(packages):
logging.info("Additional packages removed: %s" % packages)
if _notify(_("Remove {packages} from your additional software?").format(
packages=_format_iterable(packages)),
"",
_("This will stop installing {packages} automatically.").format(
packages=_format_iterable(packages)),
_("Remove"),
_("Cancel"),
urgent=True):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment