comparison src/menubar-x.c @ 384:bbff43aa5eb7 r21-2-7

Import from CVS: tag r21-2-7
author cvs
date Mon, 13 Aug 2007 11:08:24 +0200
parents 8626e4521993
children 74fd4e045ea6
comparison
equal deleted inserted replaced
383:6a50c6a581a5 384:bbff43aa5eb7
120 } 120 }
121 else 121 else
122 { 122 {
123 wv->name = string_chars; 123 wv->name = string_chars;
124 wv->enabled = 1; 124 wv->enabled = 1;
125 /* dverna Dec. 98: command_builder_operate_menu_accelerator will
126 manipulate the accel as a Lisp_Object if the widget has a name.
127 Since simple labels have a name, but no accel, we *must* set it
128 to nil */
129 wv->accel = LISP_TO_VOID (Qnil);
125 } 130 }
126 } 131 }
127 else if (VECTORP (desc)) 132 else if (VECTORP (desc))
128 { 133 {
129 if (!button_item_to_widget_value (desc, wv, 1, 134 if (!button_item_to_widget_value (desc, wv, 1,