summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-12-09 18:50:32 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-12-09 18:50:32 +0000
commit757434ab94990e1d4084a239b5f6e59e401e56cf (patch)
treee8295765ee42b1f416119b2b489f385b662ddc9f /schemas
parent9f8ed1254fb28f3e92ef96804c6c5b435907cc3f (diff)
downloadgnome-control-center-757434ab94990e1d4084a239b5f6e59e401e56cf.tar.gz
Import from gconf-xsettings module. Cleaned up a bunch, and made to work
Sat Dec 8 21:33:10 2001 Jonathan Blandford <jrb@redhat.com> * gnome-settings-daemon/gnome-settings-daemon.c (main): Import from gconf-xsettings module. Cleaned up a bunch, and made to work with mouse properties too. * schemas/peripherals.schemas: New location for schemas. Need to write many more.
Diffstat (limited to 'schemas')
-rw-r--r--schemas/Makefile.am7
-rw-r--r--schemas/peripherals.schemas74
2 files changed, 81 insertions, 0 deletions
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
new file mode 100644
index 000000000..31ca8b23b
--- /dev/null
+++ b/schemas/Makefile.am
@@ -0,0 +1,7 @@
+schemadir = $(sysconfdir)/gconf/schemas
+schema_DATA = peripherals.schemas
+
+
+##FIXME: s/gconftool/$(GCONFTOOL) sometime
+install-data-local:
+ GCONF_CONFIG_SOURCE=$(GCONF_CONFIG_SOURCE) gconftool --makefile-install-rule $(srcdir)/$(schema_DATA)
diff --git a/schemas/peripherals.schemas b/schemas/peripherals.schemas
new file mode 100644
index 000000000..1a545511c
--- /dev/null
+++ b/schemas/peripherals.schemas
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<gconfschemafile>
+ <schemalist>
+ <schema>
+ <applyto>/desktop/gnome/peripherals/mouse/left_handed</applyto>
+ <key>/schemas/desktop/gnome/peripherals/mouse/left_handed</key>
+ <owner>gnome</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Mouse button orientation</short>
+ <long>Swap left and right mouse buttons for left-handed mice</long>
+ </locale>
+ </schema>
+ <schema>
+ <applyto>/desktop/gnome/peripherals/mouse/single_click</applyto>
+ <key>/schemas/desktop/gnome/peripherals/mouse/single_click</key>
+ <owner>gnome</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Single Click</short>
+ <long>Single click to open icons</long>
+ </locale>
+ </schema>
+ <schema>
+ <applyto>/desktop/gnome/peripherals/mouse/motion_acceleration</applyto>
+ <key>/schemas/desktop/gnome/peripherals/mouse/motion_acceleration</key>
+ <owner>gnome</owner>
+ <type>float</type>
+ <default>-1</default>
+ <locale name="C">
+ <short>Single Click</short>
+ <long>Acceleration multiplier for mouse motion. A value of -1
+ is the system default.</long>
+ </locale>
+ </schema>
+ <schema>
+ <applyto>/desktop/gnome/peripherals/mouse/motion_threshold</applyto>
+ <key>/schemas/desktop/gnome/peripherals/mouse/motion_threshold</key>
+ <owner>gnome</owner>
+ <type>float</type>
+ <default>-1</default>
+ <locale name="C">
+ <short>Motion Threshold</short>
+ <long>Distance in pixels the pointer must move before
+ accelerated mouse motion is activated. A value of -1 is the
+ system default.</long>
+ </locale>
+ </schema>
+ <schema>
+ <applyto>/desktop/gnome/peripherals/mouse/drag_threshold</applyto>
+ <key>/schemas/desktop/gnome/peripherals/mouse/drag_threshold</key>
+ <owner>gnome</owner>
+ <type>int</type>
+ <default>8</default>
+ <locale name="C">
+ <short>Drag Threshold</short>
+ <long>Distance before a drag is started</long>
+ </locale>
+ </schema>
+ <schema>
+ <applyto>/desktop/gnome/peripherals/mouse/double_click</applyto>
+ <key>/schemas/desktop/gnome/peripherals/mouse/double_click</key>
+ <owner>gnome</owner>
+ <type>int</type>
+ <default>400</default>
+ <locale name="C">
+ <short>Double Click Time</short>
+ <long>Length of a double click</long>
+ </locale>
+ </schema>
+ </schemalist>
+</gconfschemafile>