Use MAX_THRESH - threshold value

2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (apply_settings): Use MAX_THRESH -
	threshold value
This commit is contained in:
Bradford Hovinen 2001-07-27 17:19:58 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 92d3e1119f
commit daf686feb0
3 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
* mouse-properties-capplet.c (apply_settings): Use MAX_THRESH -
threshold value
* mouse-properties.glade: Fix mouse speed and acceleration
controls to be wider and to use discrete values

View file

@ -76,7 +76,7 @@ apply_settings (Bonobo_ConfigDatabase db)
den = 1;
}
threshold = bonobo_config_get_ulong (db, "/main/threshold", NULL);
threshold = MAX_THRESH - bonobo_config_get_ulong (db, "/main/threshold", NULL);
XChangePointerControl (GDK_DISPLAY (), True, True,
num, den, threshold);

View file

@ -76,7 +76,7 @@ apply_settings (Bonobo_ConfigDatabase db)
den = 1;
}
threshold = bonobo_config_get_ulong (db, "/main/threshold", NULL);
threshold = MAX_THRESH - bonobo_config_get_ulong (db, "/main/threshold", NULL);
XChangePointerControl (GDK_DISPLAY (), True, True,
num, den, threshold);