summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2004-09-02 08:40:32 +0000
committerKevin E Martin <kem@kem.org>2004-09-02 08:40:32 +0000
commit3981cffbb6f4f4fe4227481c51083063a9ea995e (patch)
treed27d76de4d0835d3448cb1978060c74a3e1df3dd /util.c
parent6b12ddbb33c8722e50e7f69f456ba0ba72b76ddd (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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.c b/util.c
index 508a2d0..6e8c1d4 100644
--- a/util.c
+++ b/util.c
@@ -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;
}