[gnome-settings-daemon] Add drag-threshold setting to mouse schemas



commit b393f2510fb66ec26f67ecf09f4422a9a9c9e477
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Wed Oct 20 12:00:05 2010 +0200

    Add drag-threshold setting to mouse schemas

 data/gnome-settings-daemon.convert                 |    1 +
 ...e.settings-daemon.peripherals.gschema.xml.in.in |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/gnome-settings-daemon.convert b/data/gnome-settings-daemon.convert
index 4cbea2c..982e55e 100644
--- a/data/gnome-settings-daemon.convert
+++ b/data/gnome-settings-daemon.convert
@@ -76,6 +76,7 @@ priority = /apps/gnome_settings_daemon/plugins/mouse/priority
 [org.gnome.settings-daemon.peripherals.mouse]
 locate-pointer = /desktop/gnome/peripherals/mouse/locate_pointer
 double-click = /desktop/gnome/peripherals/mouse/double_click
+drag-threshold = /desktop/gnome/peripherals/mouse/drag_threshold
 dwell-click-enabled = /desktop/gnome/accessibility/mouse/dwell_enable
 secondary-click-enabled = /desktop/gnome/accessibility/mouse/delay_enable
 left-handed = /desktop/gnome/peripherals/mouse/left_handed
diff --git a/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in b/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in
index efce6c3..5cf3f06 100644
--- a/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in
+++ b/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in
@@ -124,5 +124,10 @@
       <_summary>Double click time</_summary>
       <_description>Length of a double click.</_description>
     </key>
+    <key name="drag-threshold" type="i">
+      <default>8</default>
+      <_summary>Drag threshold</_summary>
+      <_description>Distance before a drag is started.</_description>
+    </key>
   </schema>
 </schemalist>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]