From ab3a6c074e0fb671b5aa49cace43e68345896171 Mon Sep 17 00:00:00 2001 From: guinux Date: Wed, 24 Aug 2016 17:16:51 +0200 Subject: [PATCH] do not hide infobox if there are important infos --- src/updater_window.vala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/updater_window.vala b/src/updater_window.vala index 67f3785..f07b1ed 100644 --- a/src/updater_window.vala +++ b/src/updater_window.vala @@ -106,6 +106,10 @@ namespace Pamac { } void set_transaction_infobox_visible () { + if (important_details) { + transaction_infobox.show_all (); + return; + } if (!generate_mirrors_list) { bool visible = false; uint64 total_dsize = 0; @@ -279,7 +283,9 @@ namespace Pamac { generate_mirrors_list = false; apply_button.sensitive = true; apply_button.grab_default (); - details_button.sensitive = false; + if (!important_details) { + details_button.sensitive = false; + } cancel_button.sensitive = false; if (stack.visible_child_name == "term") { button_back.visible = true;