diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-08-30 03:52:56 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-30 03:52:56 +0000 |
commit | 6681ce0dd63b2790ca0c1c0cb4a03666989321c5 (patch) | |
tree | a3ba428559cbf4d8e804b2625c78e8b693d04297 /gtk/gtkrc.key.emacs | |
parent | a8bbf97a3053b43602da6106813c2abca8882c2d (diff) | |
download | gtk+-6681ce0dd63b2790ca0c1c0cb4a03666989321c5.tar.gz |
Add C-n/C-p/C-f/C-b as alternatives to the arrow keys for menu navigation.
2005-08-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives
to the arrow keys for menu navigation. (#162825, Carl Worth)
Diffstat (limited to 'gtk/gtkrc.key.emacs')
-rw-r--r-- | gtk/gtkrc.key.emacs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtkrc.key.emacs b/gtk/gtkrc.key.emacs index 57c1cb8c1e..199006fecb 100644 --- a/gtk/gtkrc.key.emacs +++ b/gtk/gtkrc.key.emacs @@ -95,7 +95,19 @@ binding "gtk-emacs-tree-view" bind "<ctrl>b" { "move-cursor" (logical-positions, -1) } } +# +# Bindings for menus +# +binding "gtk-emacs-menu" +{ + bind "<ctrl>n" { "move-current" (next) } + bind "<ctrl>p" { "move-current" (prev) } + bind "<ctrl>f" { "move-current" (child) } + bind "<ctrl>b" { "move-current" (parent) } +} + class "GtkEntry" binding "gtk-emacs-text-entry" class "GtkTextView" binding "gtk-emacs-text-entry" class "GtkTextView" binding "gtk-emacs-text-view" class "GtkTreeView" binding "gtk-emacs-tree-view" +class "GtkMenuShell" binding "gtk-emacs-menu" |