forked from cromer/pamac-classic
make preferences menu unsensitive when a transaction is running
This commit is contained in:
parent
310bc962a9
commit
2c1910d6b8
@ -1432,7 +1432,7 @@ namespace Pamac {
|
|||||||
|
|
||||||
[GtkCallback]
|
[GtkCallback]
|
||||||
void on_menu_button_toggled () {
|
void on_menu_button_toggled () {
|
||||||
preferences_button.visible = !transaction_running;
|
preferences_button.sensitive = !transaction_running;
|
||||||
}
|
}
|
||||||
|
|
||||||
[GtkCallback]
|
[GtkCallback]
|
||||||
|
@ -152,7 +152,7 @@ namespace Pamac {
|
|||||||
|
|
||||||
[GtkCallback]
|
[GtkCallback]
|
||||||
void on_menu_button_toggled () {
|
void on_menu_button_toggled () {
|
||||||
preferences_button.visible = !transaction_running;
|
preferences_button.sensitive = !transaction_running;
|
||||||
}
|
}
|
||||||
|
|
||||||
[GtkCallback]
|
[GtkCallback]
|
||||||
|
Loading…
Reference in New Issue
Block a user