From: Richard M. Stallman Date: Fri, 10 Nov 1995 17:43:52 +0000 (+0000) Subject: (display_menu_item): Don't treat buttons specially. X-Git-Tag: emacs-19.34~2375 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c142163a1868fe642e52011cd6bdb992d3b2f3af;p=emacs.git (display_menu_item): Don't treat buttons specially. --- diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index 4083183e31f..09945e25224 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -486,8 +486,11 @@ display_menu_item (mw, val, ws, where, highlighted_p, horizontal_p, just_compute width = ws->width - 2 * shadow; } +#ifdef 0 /* see if it should be a button in the menubar */ button_p = horizontal_p && val->call_data; +#endif + button_p = 0; /* Only highlight an enabled item that has a callback. */ if (highlighted_p)