comparison lwlib/lwlib-Xm.c @ 406:b8cc9ab3f761 r21-2-33

Import from CVS: tag r21-2-33
author cvs
date Mon, 13 Aug 2007 11:17:09 +0200
parents 5a2589c672dc
children 697ef44129c6
comparison
equal deleted inserted replaced
405:0e08f63c74d2 406:b8cc9ab3f761
1686 Arg al[20]; 1686 Arg al[20];
1687 int ac = 0; 1687 int ac = 0;
1688 Widget text = 0; 1688 Widget text = 0;
1689 widget_value* val = instance->info->val; 1689 widget_value* val = instance->info->val;
1690 1690
1691 XtSetArg (al [ac], XmNsensitive, val->enabled && val->call_data); ac++; 1691 XtSetArg (al [ac], XmNsensitive, val->enabled); ac++;
1692 XtSetArg (al [ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++; 1692 XtSetArg (al [ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++;
1693 XtSetArg (al [ac], XmNuserData, val->call_data); ac++; 1693 XtSetArg (al [ac], XmNuserData, val->call_data); ac++;
1694 XtSetArg (al [ac], XmNmappedWhenManaged, FALSE); ac++; 1694 XtSetArg (al [ac], XmNmappedWhenManaged, FALSE); ac++;
1695 /* The highlight doesn't appear to be dynamically set which makes it 1695 /* The highlight doesn't appear to be dynamically set which makes it
1696 look ugly. I think this may be a LessTif bug but for now we just 1696 look ugly. I think this may be a LessTif bug but for now we just