diff -Nru lxinput-0.3.1/debian/changelog lxinput-0.3.1/debian/changelog --- lxinput-0.3.1/debian/changelog 2012-03-23 22:36:09.000000000 +0000 +++ lxinput-0.3.1/debian/changelog 2012-03-27 23:34:11.000000000 +0000 @@ -1,8 +1,8 @@ -lxinput (0.3.1-1ubuntu1~ppa1) precise; urgency=low +lxinput (0.3.1-1ubuntu1~ppa2) precise; urgency=low * - -- Julien Lavergne Fri, 23 Mar 2012 23:35:58 +0100 + -- Julien Lavergne Wed, 28 Mar 2012 01:34:07 +0200 lxinput (0.3.1-1) unstable; urgency=low diff -Nru lxinput-0.3.1/debian/patches/01_fix_load_save_settings.patch lxinput-0.3.1/debian/patches/01_fix_load_save_settings.patch --- lxinput-0.3.1/debian/patches/01_fix_load_save_settings.patch 2012-03-23 22:52:05.000000000 +0000 +++ lxinput-0.3.1/debian/patches/01_fix_load_save_settings.patch 2012-03-27 23:34:25.000000000 +0000 @@ -63,7 +63,7 @@ Index: lxinput-0.3.1/src/lxinput.c =================================================================== --- lxinput-0.3.1.orig/src/lxinput.c 2012-03-23 23:35:31.000000000 +0100 -+++ lxinput-0.3.1/src/lxinput.c 2012-03-23 23:52:02.000000000 +0100 ++++ lxinput-0.3.1/src/lxinput.c 2012-03-28 01:34:20.000000000 +0200 @@ -33,7 +33,7 @@ #include @@ -193,19 +193,36 @@ g_key_file_set_integer(kf, "Mouse", "AccFactor", accel); g_key_file_set_integer(kf, "Mouse", "AccThreshold", threshold); -@@ -293,9 +328,10 @@ +@@ -293,20 +328,14 @@ g_key_file_set_integer(kf, "Keyboard", "Interval", interval); g_key_file_set_integer(kf, "Keyboard", "Beep", !!beep); -+ - if( str = g_key_file_to_data( kf, &len, NULL ) ) - { +- if( str = g_key_file_to_data( kf, &len, NULL ) ) +- { - if( g_file_set_contents( file, str, len, &err ) ) -+ if( g_file_set_contents(user_config_file, buf, len, NULL) ) - { - /* ask the settigns daemon to reload */ - /* FIXME: is this needed? */ -@@ -332,6 +368,7 @@ +- { +- /* ask the settigns daemon to reload */ +- /* FIXME: is this needed? */ +- /* g_spawn_command_line_sync("lxde-settings-daemon reload", NULL, NULL, NULL, NULL); */ +- } +- else +- { +- g_error_free( err ); +- } +- g_free(str); +- } ++ str = g_key_file_to_data(kf, &len, NULL); ++ g_file_set_contents(user_config_file, str, len, NULL); ++ g_free(str); ++ ++ /* ask the settigns daemon to reload */ ++ /* FIXME: is this needed? */ ++ /* g_spawn_command_line_sync("lxde-settings-daemon reload", NULL, NULL, NULL, NULL); */ ++ + } + else + { +@@ -332,6 +361,7 @@ g_free( file ); g_key_file_free( kf );