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)
This commit is contained in:
Matthias Clasen 2005-08-30 03:52:56 +00:00 committed by Matthias Clasen
parent a8bbf97a30
commit 6681ce0dd6
3 changed files with 18 additions and 0 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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"