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:
parent
33b3809115
commit
09de3e80a5
4 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
||||||
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
|
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
|
* RELEASE : 1.5.2
|
||||||
|
|
||||||
2001-07-25 Chema Celorio <chema@celorio.com>
|
2001-07-25 Chema Celorio <chema@celorio.com>
|
||||||
|
|
|
@ -57,7 +57,7 @@ apply_settings (Bonobo_ConfigDatabase db)
|
||||||
ulong accel, threshold;
|
ulong accel, threshold;
|
||||||
gboolean rtol;
|
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);
|
nbuttons = XGetPointerMapping (GDK_DISPLAY (), buttons, MAX_BUTTONS);
|
||||||
max = MIN (nbuttons, 3);
|
max = MIN (nbuttons, 3);
|
||||||
|
|
|
@ -57,7 +57,7 @@ apply_settings (Bonobo_ConfigDatabase db)
|
||||||
ulong accel, threshold;
|
ulong accel, threshold;
|
||||||
gboolean rtol;
|
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);
|
nbuttons = XGetPointerMapping (GDK_DISPLAY (), buttons, MAX_BUTTONS);
|
||||||
max = MIN (nbuttons, 3);
|
max = MIN (nbuttons, 3);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<bonobo-config>
|
<bonobo-config>
|
||||||
<section path="main">
|
<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="acceleration" type="ulong" value="3"/>
|
||||||
<entry name="threshold" type="ulong" value="3"/>
|
<entry name="threshold" type="ulong" value="3"/>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue