remove the float_to_int conversion as the peditor already does that.

Thu Jul 24 16:14:33 2003  Jonathan Blandford  <jrb@redhat.com>

        * gnome-mouse-properties.c (setup_dialog): remove the float_to_int
        conversion as the peditor already does that.
This commit is contained in:
Jonathan Blandford 2003-07-24 21:14:33 +00:00 committed by Jonathan Blandford
parent c54973f9b2
commit 0384b385bc
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Jul 24 16:14:33 2003 Jonathan Blandford <jrb@redhat.com>
* gnome-mouse-properties.c (setup_dialog): remove the float_to_int
conversion as the peditor already does that.
2003-07-07 Jody Goldberg <jody@gnome.org>
* Release 2.3.4

View file

@ -636,14 +636,12 @@ setup_dialog (GladeXML *dialog, GConfChangeSet *changeset)
gconf_peditor_new_numeric_range
(changeset, "/desktop/gnome/peripherals/mouse/motion_threshold", WID ("sensitivity_scale"),
"conv-to-widget-cb", threshold_from_gconf,
"conv-from-widget-cb", gconf_value_float_to_int,
NULL);
/* DnD threshold */
gconf_peditor_new_numeric_range
(changeset, "/desktop/gnome/peripherals/mouse/drag_threshold", WID ("drag_threshold_scale"),
"conv-to-widget-cb", drag_threshold_from_gconf,
"conv-from-widget-cb", gconf_value_float_to_int,
NULL);
/* listen to cursors changing */