Fix CI, escape not working

This commit is contained in:
kramo
2024-01-27 09:34:30 +01:00
parent 3e1ef88a1f
commit 303f2a2063
4 changed files with 16 additions and 12 deletions

View File

@@ -201,6 +201,13 @@ template $CartridgesWindow : Adw.ApplicationWindow {
SearchEntry search_entry {
placeholder-text: _("Search");
hexpand: true;
ShortcutController {
Shortcut {
trigger: "Escape";
action: "action(win.toggle_search)";
}
}
}
}
}
@@ -261,6 +268,11 @@ Adw.NavigationPage hidden_library_page {
SearchEntry hidden_search_entry {
placeholder-text: _("Search");
hexpand: true;
Shortcut {
trigger: "Escape";
action: "action(win.toggle_search)";
}
}
}
}