attached is a patch which corrects the following:
* circular scrolling start point saved in gconf, was not saved at all
* scrolling speed saved as int, was saved as bool

Reading properties worked correctly, so adding on or more of the following
in gconf in /desktop/gnome/peripherals/SynPS... works as a temporary fix:
circular_scrolling_trigger = 3
vertical_scrolling_distance = 255
horizontal_scrolling_distance = 255
--- modules/gpds-touchpad-ui.c	2011-07-16 10:51:22.895979115 +0200
+++ modules/gpds-touchpad-ui.c	2011-07-16 11:30:36.389430964 +0200
@@ -271,6 +271,8 @@
             g_error_free(error);
         }
     }
+
+    gpds_ui_set_gconf_int(ui, GPDS_TOUCHPAD_CIRCULAR_SCROLLING_TRIGGER_KEY, (gint)trigger);
 }

 #define DEFINE_PALM_DIMENSIONS_SCALE_VALUE_CHANGED_CALLBACK(type, TYPE)                                             \
@@ -305,7 +307,7 @@
     builder = gpds_ui_get_builder(GPDS_UI(user_data));                                                              \
     set_scrolling_distance_property(xinput, builder);                                                               \
     distance = gtk_range_get_value(range);                                                                          \
-    gpds_ui_set_gconf_bool(GPDS_UI(user_data), GPDS_TOUCHPAD_ ## TYPE ## _SCROLLING_DISTANCE_KEY, (gint)distance);  \
+    gpds_ui_set_gconf_int(GPDS_UI(user_data), GPDS_TOUCHPAD_ ## TYPE ## _SCROLLING_DISTANCE_KEY, (gint)distance);  \
 }

 DEFINE_SCROLLING_SCALE_VALUE_CHANGED_CALLBACK(vertical, VERTICAL)

Reply via email to