Change type of right-to-left to ulong

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

	* mouse-properties.xml: Change type of right-to-left to ulong

	* mouse-properties-capplet.c (apply_settings): Use get_ulong
	rather than get_boolean
This commit is contained in:
Bradford Hovinen 2001-07-27 17:06:01 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 33b3809115
commit 09de3e80a5
4 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,10 @@
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
* mouse-properties.xml: Change type of right-to-left to ulong
* mouse-properties-capplet.c (apply_settings): Use get_ulong
rather than get_boolean
* RELEASE : 1.5.2
2001-07-25 Chema Celorio <chema@celorio.com>

View file

@ -57,7 +57,7 @@ apply_settings (Bonobo_ConfigDatabase db)
ulong accel, threshold;
gboolean rtol;
rtol = bonobo_config_get_boolean (db, "/main/right-to-left", NULL);
rtol = bonobo_config_get_ulong (db, "/main/right-to-left", NULL);
nbuttons = XGetPointerMapping (GDK_DISPLAY (), buttons, MAX_BUTTONS);
max = MIN (nbuttons, 3);

View file

@ -57,7 +57,7 @@ apply_settings (Bonobo_ConfigDatabase db)
ulong accel, threshold;
gboolean rtol;
rtol = bonobo_config_get_boolean (db, "/main/right-to-left", NULL);
rtol = bonobo_config_get_ulong (db, "/main/right-to-left", NULL);
nbuttons = XGetPointerMapping (GDK_DISPLAY (), buttons, MAX_BUTTONS);
max = MIN (nbuttons, 3);

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<bonobo-config>
<section path="main">
<entry name="right-to-left" type="boolean" value="0"/>
<entry name="right-to-left" type="ulong" value="0"/>
<entry name="acceleration" type="ulong" value="3"/>
<entry name="threshold" type="ulong" value="3"/>
</section>