mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
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:
parent
4a81297ef1
commit
d469499d46
10 changed files with 37 additions and 68 deletions
|
|
@ -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 || {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue