fix apply_button visibility

This commit is contained in:
guinux 2016-04-25 16:53:06 +02:00
parent 9e28c9f87d
commit cc54584ae4
2 changed files with 2 additions and 2 deletions

View File

@ -1488,6 +1488,7 @@ namespace Pamac {
[GtkCallback]
void on_apply_button_clicked () {
transaction_running = true;
apply_button.visible = false;
transaction.run ();
}
@ -1513,7 +1514,6 @@ namespace Pamac {
void on_start_transaction () {
cancel_button.visible = false;
apply_button.visible = false;
}
void on_emit_action (string action) {

View File

@ -161,6 +161,7 @@ namespace Pamac {
void on_apply_button_clicked () {
transaction_running = true;
transaction.sysupgrade (false);
apply_button.visible = false;
details_button.visible = true;
cancel_button.visible = true;
}
@ -193,7 +194,6 @@ namespace Pamac {
void on_start_transaction () {
cancel_button.visible = false;
apply_button.visible = false;
}
void on_emit_action (string action) {