make preferences menu unsensitive when a transaction is running
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user