gpointing-device-settings r108 - trunk/modules/gnome-settings-daemon-plugins
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r108 - trunk/modules/gnome-settings-daemon-plugins
- Date: Tue, 3 Mar 2009 06:15:52 +0000 (UTC)
Author: hiikezoe
Date: Tue Mar 3 06:15:52 2009
New Revision: 108
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=108&view=rev
Log:
touchpad off support for gnome-settings-daemon-plugin.
Modified:
trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c
Modified: trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c
==============================================================================
--- trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c (original)
+++ trunk/modules/gnome-settings-daemon-plugins/gsd-touchpad-manager.c Tue Mar 3 06:15:52 2009
@@ -137,7 +137,15 @@
}
break;
case GCONF_VALUE_INT:
- if (!strcmp(key, GPDS_TOUCHPAD_TAP_TIME_KEY)) {
+ if (!strcmp(key, GPDS_TOUCHPAD_OFF_KEY)) {
+ properties[0] = gconf_value_get_int(value);
+ gpds_xinput_set_int_properties(xinput,
+ gpds_touchpad_xinput_get_name(GPDS_TOUCHPAD_OFF),
+ gpds_touchpad_xinput_get_format_type(GPDS_TOUCHPAD_OFF),
+ NULL,
+ properties,
+ 1);
+ } else if (!strcmp(key, GPDS_TOUCHPAD_TAP_TIME_KEY)) {
properties[0] = gconf_value_get_int(value);
gpds_xinput_set_int_properties(xinput,
gpds_touchpad_xinput_get_name(GPDS_TOUCHPAD_TAP_TIME),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]