Fix CI, escape not working
This commit is contained in:
@@ -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)";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user