make preferences menu unsensitive when a transaction is running

This commit is contained in:
guinux 2016-05-07 09:11:55 +02:00
parent 310bc962a9
commit 2c1910d6b8
2 changed files with 2 additions and 2 deletions

View File

@ -1432,7 +1432,7 @@ namespace Pamac {
[GtkCallback]
void on_menu_button_toggled () {
preferences_button.visible = !transaction_running;
preferences_button.sensitive = !transaction_running;
}
[GtkCallback]

View File

@ -152,7 +152,7 @@ namespace Pamac {
[GtkCallback]
void on_menu_button_toggled () {
preferences_button.visible = !transaction_running;
preferences_button.sensitive = !transaction_running;
}
[GtkCallback]