diff options
| author | Richard M. Stallman | 1995-11-10 17:43:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-10 17:43:52 +0000 |
| commit | c142163a1868fe642e52011cd6bdb992d3b2f3af (patch) | |
| tree | 2424a1fd631790b44918169fd62d785071fc09ad | |
| parent | beb4ba68757a1b71de4885f7c890af52f9bfa710 (diff) | |
| download | emacs-c142163a1868fe642e52011cd6bdb992d3b2f3af.tar.gz emacs-c142163a1868fe642e52011cd6bdb992d3b2f3af.zip | |
(display_menu_item): Don't treat buttons specially.
| -rw-r--r-- | lwlib/xlwmenu.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
| 486 | width = ws->width - 2 * shadow; | 486 | width = ws->width - 2 * shadow; |
| 487 | } | 487 | } |
| 488 | 488 | ||
| 489 | #ifdef 0 | ||
| 489 | /* see if it should be a button in the menubar */ | 490 | /* see if it should be a button in the menubar */ |
| 490 | button_p = horizontal_p && val->call_data; | 491 | button_p = horizontal_p && val->call_data; |
| 492 | #endif | ||
| 493 | button_p = 0; | ||
| 491 | 494 | ||
| 492 | /* Only highlight an enabled item that has a callback. */ | 495 | /* Only highlight an enabled item that has a callback. */ |
| 493 | if (highlighted_p) | 496 | if (highlighted_p) |