forked from cromer/pamac-classic
do not hide infobox if there are important infos
This commit is contained in:
parent
811377ed49
commit
ab3a6c074e
@ -106,6 +106,10 @@ namespace Pamac {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void set_transaction_infobox_visible () {
|
void set_transaction_infobox_visible () {
|
||||||
|
if (important_details) {
|
||||||
|
transaction_infobox.show_all ();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!generate_mirrors_list) {
|
if (!generate_mirrors_list) {
|
||||||
bool visible = false;
|
bool visible = false;
|
||||||
uint64 total_dsize = 0;
|
uint64 total_dsize = 0;
|
||||||
@ -279,7 +283,9 @@ namespace Pamac {
|
|||||||
generate_mirrors_list = false;
|
generate_mirrors_list = false;
|
||||||
apply_button.sensitive = true;
|
apply_button.sensitive = true;
|
||||||
apply_button.grab_default ();
|
apply_button.grab_default ();
|
||||||
details_button.sensitive = false;
|
if (!important_details) {
|
||||||
|
details_button.sensitive = false;
|
||||||
|
}
|
||||||
cancel_button.sensitive = false;
|
cancel_button.sensitive = false;
|
||||||
if (stack.visible_child_name == "term") {
|
if (stack.visible_child_name == "term") {
|
||||||
button_back.visible = true;
|
button_back.visible = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user