diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2004-08-30 19:42:53 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2004-08-30 19:42:53 +0000 |
commit | 6e70eb236eb9d996b0022f63ef89293116895d83 (patch) | |
tree | 363b13c352463c8b9e43b0b49930d411549e4ae5 /src/gtkutil.h | |
parent | d5ade57c391b7b5e76c32ee79d13061d22e83931 (diff) | |
download | emacs-6e70eb236eb9d996b0022f63ef89293116895d83.tar.gz |
* xmenu.c (digest_single_submenu): Set lname and lkey in widget_value
instead of name and key.
(update_submenu_strings): New function.
(set_frame_menubar): Remove call to inhibit_garbage_collection,
call update_submenu_strings. Call ENCODE_MENU_STRING for top level
menu names.
* gtkutil.h (_widget_value): Added lname and lkey.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r-- | src/gtkutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h index b31ec8c2a1f..b35ab94b2cb 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h @@ -96,10 +96,12 @@ typedef struct xg_menu_item_cb_data_ typedef struct _widget_value { /* name of widget */ + Lisp_Object lname; char *name; /* value (meaning depend on widget type) */ char *value; /* keyboard equivalent. no implications for XtTranslations */ + Lisp_Object lkey; char *key; /* Help string or nil if none. GC finds this string through the frame's menu_bar_vector |