Mercurial > hg > xemacs-beta
comparison src/gui.c @ 422:95016f13131a r21-2-19
Import from CVS: tag r21-2-19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:25:01 +0200 |
parents | 41dbb7a9d5f2 |
children | 11054d720c21 |
comparison
equal
deleted
inserted
replaced
421:fff06e11db74 | 422:95016f13131a |
---|---|
430 char* buf, Bytecount buf_len) | 430 char* buf, Bytecount buf_len) |
431 { | 431 { |
432 struct Lisp_Gui_Item* pgui_item = XGUI_ITEM (gui_item); | 432 struct Lisp_Gui_Item* pgui_item = XGUI_ITEM (gui_item); |
433 *buf = 0; | 433 *buf = 0; |
434 | 434 |
435 #ifdef HAVE_MENUBARS | |
435 /* Have keys? */ | 436 /* Have keys? */ |
436 if (!menubar_show_keybindings) | 437 if (!menubar_show_keybindings) |
437 return 0; | 438 return 0; |
439 #endif | |
438 | 440 |
439 /* Try :keys first */ | 441 /* Try :keys first */ |
440 if (!NILP (pgui_item->keys)) | 442 if (!NILP (pgui_item->keys)) |
441 { | 443 { |
442 CHECK_STRING (pgui_item->keys); | 444 CHECK_STRING (pgui_item->keys); |