Mercurial > emacs
comparison src/gtkutil.c @ 83537:c19f348befac
Fix F10 behaviour. (Reported by Bernard Adrian.)
* src/xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]:
Rename from Fmenu_bar_open.
(syms_of_xmenu): Update defsubr.
* lisp/menu-bar.el (menu-bar-open): New function.
Bind it to f10.
* lisp/term/x-win.el: Don't bind f10.
* lisp/tmm.el: Remove autoload binding for f10.
* lisp/ldefs-boot.el: Regenerate.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-577
| author | Karoly Lorentey <lorentey@elte.hu> |
|---|---|
| date | Sat, 29 Jul 2006 20:57:26 +0000 |
| parents | 46b1096093f5 |
| children | 2d56e13fd23d |
comparison
equal
deleted
inserted
replaced
| 83536:0014f454c421 | 83537:c19f348befac |
|---|---|
| 1968 } | 1968 } |
| 1969 | 1969 |
| 1970 return w; | 1970 return w; |
| 1971 } | 1971 } |
| 1972 | 1972 |
| 1973 /* Callback called when keyboard traversal (started by menu-bar-open) ends. | 1973 /* Callback called when keyboard traversal (started by x-menu-bar-open) ends. |
| 1974 WMENU is the menu for which traversal has been done. DATA points to the | 1974 WMENU is the menu for which traversal has been done. DATA points to the |
| 1975 frame for WMENU. We must release grabs, some bad interaction between GTK | 1975 frame for WMENU. We must release grabs, some bad interaction between GTK |
| 1976 and Emacs makes the menus keep the grabs. */ | 1976 and Emacs makes the menus keep the grabs. */ |
| 1977 | 1977 |
| 1978 static void | 1978 static void |
