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 | |
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)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 3 | ||||
-rw-r--r-- | gtk/gtkrc.key.emacs | 12 |
3 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,8 @@ 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) + * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index df8ac08707..d7b10ec587 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 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) + * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos. 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" |