missed commit
This commit is contained in:
parent
b6e858deb7
commit
76214e33c0
1 changed files with 2 additions and 16 deletions
|
@ -228,13 +228,6 @@ threshold_from_gconf (GConfPropertyEditor *peditor,
|
||||||
return new_value;
|
return new_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GConfValue *
|
|
||||||
threshold_to_gconf (GConfPropertyEditor *peditor,
|
|
||||||
const GConfValue *value)
|
|
||||||
{
|
|
||||||
return gconf_value_float_to_int (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
static GConfValue *
|
static GConfValue *
|
||||||
drag_threshold_from_gconf (GConfPropertyEditor *peditor,
|
drag_threshold_from_gconf (GConfPropertyEditor *peditor,
|
||||||
const GConfValue *value)
|
const GConfValue *value)
|
||||||
|
@ -248,13 +241,6 @@ drag_threshold_from_gconf (GConfPropertyEditor *peditor,
|
||||||
return new_value;
|
return new_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GConfValue *
|
|
||||||
drag_threshold_to_gconf (GConfPropertyEditor *peditor,
|
|
||||||
const GConfValue *value)
|
|
||||||
{
|
|
||||||
return gconf_value_float_to_int (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Retrieve legacy settings */
|
/* Retrieve legacy settings */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -686,14 +672,14 @@ setup_dialog (GladeXML *dialog, GConfChangeSet *changeset)
|
||||||
gconf_peditor_new_numeric_range
|
gconf_peditor_new_numeric_range
|
||||||
(changeset, "/desktop/gnome/peripherals/mouse/motion_threshold", WID ("sensitivity_scale"),
|
(changeset, "/desktop/gnome/peripherals/mouse/motion_threshold", WID ("sensitivity_scale"),
|
||||||
"conv-to-widget-cb", threshold_from_gconf,
|
"conv-to-widget-cb", threshold_from_gconf,
|
||||||
"conv-from-widget-cb", threshold_to_gconf,
|
"conv-from-widget-cb", gconf_value_float_to_int,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
/* DnD threshold */
|
/* DnD threshold */
|
||||||
gconf_peditor_new_numeric_range
|
gconf_peditor_new_numeric_range
|
||||||
(changeset, "/desktop/gnome/peripherals/mouse/drag_threshold", WID ("drag_threshold_scale"),
|
(changeset, "/desktop/gnome/peripherals/mouse/drag_threshold", WID ("drag_threshold_scale"),
|
||||||
"conv-to-widget-cb", drag_threshold_from_gconf,
|
"conv-to-widget-cb", drag_threshold_from_gconf,
|
||||||
"conv-from-widget-cb", drag_threshold_to_gconf,
|
"conv-from-widget-cb", gconf_value_float_to_int,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
/* listen to cursors changing */
|
/* listen to cursors changing */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue