[gnome-settings-daemon] mouse: Handle touchpad handedness changing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] mouse: Handle touchpad handedness changing
- Date: Mon, 21 Mar 2011 10:21:29 +0000 (UTC)
commit ccaf750510e8797f22045490eb37d39693023ec6
Author: Bastien Nocera <hadess hadess net>
Date: Mon Mar 21 10:09:38 2011 +0000
mouse: Handle touchpad handedness changing
plugins/mouse/gsd-mouse-manager.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index e09dfae..376d9e2 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -1014,8 +1014,11 @@ touchpad_callback (GSettings *settings,
} else if (g_str_equal (key, KEY_MOTION_ACCELERATION) ||
g_str_equal (key, KEY_MOTION_THRESHOLD)) {
set_motion (manager);
+ } else if (g_str_equal (key, KEY_LEFT_HANDED)) {
+ gboolean mouse_left_handed;
+ mouse_left_handed = g_settings_get_boolean (manager->priv->mouse_settings, KEY_LEFT_HANDED);
+ set_left_handed (manager, mouse_left_handed, get_touchpad_handedness (manager, mouse_left_handed));
}
- /* FIXME handle KEY_LEFT_HANDED */
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]