Index: gtkmenubar.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkmenubar.c,v
retrieving revision 1.37
diff -u -p -r1.37 gtkmenubar.c
--- gtkmenubar.c	2001/10/04 06:48:09	1.37
+++ gtkmenubar.c	2001/10/08 09:38:34
@@ -143,6 +143,11 @@ gtk_menu_bar_class_init (GtkMenuBarClass
 				GTK_TYPE_MENU_DIRECTION_TYPE,
 				GTK_MENU_DIR_CHILD);
 
+  gtk_binding_entry_add_signal (binding_set, GDK_KP_Enter, 0,
+				"move_current", 1,
+				GTK_TYPE_MENU_DIRECTION_TYPE,
+				GTK_MENU_DIR_CHILD);
+
   gtk_widget_class_install_style_property (widget_class,
 					   g_param_spec_enum ("shadow_type",
                                                               _("Shadow type"),
@@ -392,9 +397,14 @@ window_key_press_handler (GtkWidget   *w
 
           if (menushell->children)
             {
-              gtk_signal_emit_by_name (GTK_OBJECT (menushell->children->data),
-                                       "activate_item");
-              
+              if (!menushell->active)
+                {
+                  gtk_grab_add (GTK_WIDGET (menushell));
+                  menushell->have_grab = TRUE;
+                  menushell->active = TRUE;
+                }
+
+              gtk_menu_shell_select_item (menushell, menushell->children->data);
               retval = TRUE;
             }
         }
