summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-08-30 03:52:56 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-30 03:52:56 +0000
commit6681ce0dd63b2790ca0c1c0cb4a03666989321c5 (patch)
treea3ba428559cbf4d8e804b2625c78e8b693d04297
parenta8bbf97a3053b43602da6106813c2abca8882c2d (diff)
downloadgtk+-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--ChangeLog3
-rw-r--r--ChangeLog.pre-2-103
-rw-r--r--gtk/gtkrc.key.emacs12
3 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index df8ac08707..d7b10ec587 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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"