comparison lwlib/xlwmenu.c @ 13485:44fccef90f33

(display_menu_item): Don't treat buttons specially.
author Richard M. Stallman <rms@gnu.org>
date Fri, 10 Nov 1995 17:43:52 +0000
parents 9619c1121b43
children 3974e093d47f
comparison
equal deleted inserted replaced
13484:be831ed47a75 13485:44fccef90f33
484 { 484 {
485 label_width = ws->label_width; 485 label_width = ws->label_width;
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)
494 if (!val->enabled || !(val->call_data || val->contents)) 497 if (!val->enabled || !(val->call_data || val->contents))
495 highlighted_p = 0; 498 highlighted_p = 0;