[gnome-builder/wip/gtk4-port] plugins/web-browser: use ctrl+l to focus url bar
- From: Christian Hergert <chergert src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-builder/wip/gtk4-port] plugins/web-browser: use ctrl+l to focus url bar
 
- Date: Fri,  3 Jun 2022 21:33:19 +0000 (UTC)
 
commit d9eb598e1872892f4f1d647e254b3c1ecaed3dfe
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 3 14:33:10 2022 -0700
    plugins/web-browser: use ctrl+l to focus url bar
    
    This will work no matter where the focus is, so long as the most recent
    page is an IdeWebkitPage (unless another shortcut stole the input first).
 src/plugins/web-browser/gtk/keybindings.json | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/web-browser/gtk/keybindings.json b/src/plugins/web-browser/gtk/keybindings.json
index 7ef5663b0..6dbe6578f 100644
--- a/src/plugins/web-browser/gtk/keybindings.json
+++ b/src/plugins/web-browser/gtk/keybindings.json
@@ -1 +1,2 @@
 { "trigger" : "<Control><Shift><Alt>b", "action" : "web-browser.new-page", "when" : "canEdit()", "phase" : 
"capture" },
+{ "trigger" : "<Control>l", "action" : "web-browser.focus-address", "when" : "(page != null) && 
typeof(page).is_a(typeof(Ide.WebkitPage))", "phase" : "capture" },
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]