mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-07 12:05:29 +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
|
|
@ -1,12 +0,0 @@
|
|||
use gtk::{gio::SimpleAction, glib::uuid_string_random};
|
||||
|
||||
/// [SimpleAction](https://docs.gtk.org/gio/class.SimpleAction.html) wrapper for `Escape` action of `Browser` group
|
||||
pub trait Escape {
|
||||
fn escape() -> Self;
|
||||
}
|
||||
|
||||
impl Escape for SimpleAction {
|
||||
fn escape() -> Self {
|
||||
SimpleAction::new(&uuid_string_random(), None)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue