Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Commit

Permalink
make preferences menu unsensitive when a transaction is running
Browse files Browse the repository at this point in the history
  • Loading branch information
guinux committed May 7, 2016
1 parent 310bc96 commit 2c1910d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/manager_window.vala
Expand Up @@ -1432,7 +1432,7 @@ namespace Pamac {

[GtkCallback]
void on_menu_button_toggled () {
preferences_button.visible = !transaction_running;
preferences_button.sensitive = !transaction_running;
}

[GtkCallback]
Expand Down
2 changes: 1 addition & 1 deletion src/updater_window.vala
Expand Up @@ -152,7 +152,7 @@ namespace Pamac {

[GtkCallback]
void on_menu_button_toggled () {
preferences_button.visible = !transaction_running;
preferences_button.sensitive = !transaction_running;
}

[GtkCallback]
Expand Down

0 comments on commit 2c1910d

Please sign in to comment.