forked from cromer/pamac-classic
fix apply_button visibility
This commit is contained in:
parent
9e28c9f87d
commit
cc54584ae4
@ -1488,6 +1488,7 @@ namespace Pamac {
|
|||||||
[GtkCallback]
|
[GtkCallback]
|
||||||
void on_apply_button_clicked () {
|
void on_apply_button_clicked () {
|
||||||
transaction_running = true;
|
transaction_running = true;
|
||||||
|
apply_button.visible = false;
|
||||||
transaction.run ();
|
transaction.run ();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1513,7 +1514,6 @@ namespace Pamac {
|
|||||||
|
|
||||||
void on_start_transaction () {
|
void on_start_transaction () {
|
||||||
cancel_button.visible = false;
|
cancel_button.visible = false;
|
||||||
apply_button.visible = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_emit_action (string action) {
|
void on_emit_action (string action) {
|
||||||
|
@ -161,6 +161,7 @@ namespace Pamac {
|
|||||||
void on_apply_button_clicked () {
|
void on_apply_button_clicked () {
|
||||||
transaction_running = true;
|
transaction_running = true;
|
||||||
transaction.sysupgrade (false);
|
transaction.sysupgrade (false);
|
||||||
|
apply_button.visible = false;
|
||||||
details_button.visible = true;
|
details_button.visible = true;
|
||||||
cancel_button.visible = true;
|
cancel_button.visible = true;
|
||||||
}
|
}
|
||||||
@ -193,7 +194,6 @@ namespace Pamac {
|
|||||||
|
|
||||||
void on_start_transaction () {
|
void on_start_transaction () {
|
||||||
cancel_button.visible = false;
|
cancel_button.visible = false;
|
||||||
apply_button.visible = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_emit_action (string action) {
|
void on_emit_action (string action) {
|
||||||
|
Loading…
Reference in New Issue
Block a user