diff options
author | Kevin E Martin <kem@kem.org> | 2004-09-02 08:40:32 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2004-09-02 08:40:32 +0000 |
commit | 3981cffbb6f4f4fe4227481c51083063a9ea995e (patch) | |
tree | d27d76de4d0835d3448cb1978060c74a3e1df3dd /util.c | |
parent | 6b12ddbb33c8722e50e7f69f456ba0ba72b76ddd (diff) |
Restore xman and xedit changes that were previously reverted, and makerel-0-6-1lg3d-rel-0-7-0lg3d-baseXORG-6_8_1XORG-6_8_0XORG-6_7_99_904
Xprint support optional (Bug #1273, Roland Mainz).
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -83,6 +83,8 @@ MakeCommandButton(Widget box, char *name, XtCallbackProc function) Widget w = XtCreateManagedWidget(name, commandWidgetClass, box, NULL, ZERO); if (function != NULL) XtAddCallback(w, XtNcallback, function, (caddr_t) NULL); + else + XtVaSetValues(w, XtNsensitive, False, NULL); return w; } |