diff lwlib/lwlib-Xaw.c @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 1ce6082ce73f
children 6b37e6ddd302
line wrap: on
line diff
--- a/lwlib/lwlib-Xaw.c	Mon Aug 13 09:06:45 2007 +0200
+++ b/lwlib/lwlib-Xaw.c	Mon Aug 13 09:07:36 2007 +0200
@@ -128,6 +128,8 @@
     {
       Dimension bw = 0;
       XtVaGetValues (widget, XtNborderWidth, &bw, 0);
+
+#ifndef LWLIB_DIALOGS_ATHENA3D
       if (bw == 0)
 	/* Don't let buttons end up with 0 borderwidth, that's ugly...
 	   Yeah, all this should really be done through app-defaults files
@@ -136,6 +138,7 @@
 	   not look like shit is just entirely too much work.
 	 */
 	XtVaSetValues (widget, XtNborderWidth, 1, 0);
+#endif
 
       XtVaSetValues (widget,
 		     XtNlabel, val->value,
@@ -518,9 +521,11 @@
   event_data.time = 0;
 
   if ((int) call_data > 0)
-    event_data.action = SCROLLBAR_PAGE_DOWN;
+    /* event_data.action = SCROLLBAR_PAGE_DOWN;*/
+    event_data.action = SCROLLBAR_LINE_DOWN;
   else
-    event_data.action = SCROLLBAR_PAGE_UP;
+    /* event_data.action = SCROLLBAR_PAGE_UP;*/
+    event_data.action = SCROLLBAR_LINE_UP;
 
   if (instance->info->pre_activate_cb)
     instance->info->pre_activate_cb (widget, id, (XtPointer) &event_data);