Commit 2c1910d6 authored by guinux's avatar guinux

make preferences menu unsensitive when a transaction is running

parent 310bc962
......@@ -1432,7 +1432,7 @@ namespace Pamac {
[GtkCallback]
void on_menu_button_toggled () {
preferences_button.visible = !transaction_running;
preferences_button.sensitive = !transaction_running;
}
[GtkCallback]
......
......@@ -152,7 +152,7 @@ namespace Pamac {
[GtkCallback]
void on_menu_button_toggled () {
preferences_button.visible = !transaction_running;
preferences_button.sensitive = !transaction_running;
}
[GtkCallback]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment