remove Escape accels from window actions as blocking dialog windows, replace it with local EventControllerKey implementation, that depends of active focus

This commit is contained in:
yggverse 2025-03-20 23:55:33 +02:00
parent 4a81297ef1
commit d469499d46
10 changed files with 37 additions and 68 deletions

View file

@ -76,15 +76,6 @@ impl Browser {
}
});
action.escape.connect_activate({
let widget = widget.clone();
let window = window.clone();
move |_, _| {
window.escape();
widget.application_window.set_focus(gtk::Window::NONE);
}
});
action.profile.connect_activate({
let profile = profile.clone();
move || {