]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkrc.key.emacs
filechooserbutton: Update the button/combo whenever the selection is changed programm...
[~andy/gtk] / gtk / gtkrc.key.emacs
index 57c1cb8c1ef7eded3ae6c1b63b66394be500023a..0556bdf24942ce1f68781e7ecd5dda300b51ad5a 100644 (file)
@@ -12,9 +12,7 @@
 # Lesser General Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the
-# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
+# License along with this library. If not, see <http://www.gnu.org/licenses/>.
 
 
 # Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
@@ -95,7 +93,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"