[gnome-tweak-tool] keymouse: Add a click method tweak for touchpads



commit 708e17476511f6f03adc012b421f560ddda7a1cd
Author: Rui Matos <tiagomatos gmail com>
Date:   Wed May 6 16:53:58 2015 +0200

    keymouse: Add a click method tweak for touchpads
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748850

 gtweak/tweaks/tweak_group_keymouse.py |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_keymouse.py b/gtweak/tweaks/tweak_group_keymouse.py
index b56a4f4..1f5c9a4 100644
--- a/gtweak/tweaks/tweak_group_keymouse.py
+++ b/gtweak/tweaks/tweak_group_keymouse.py
@@ -21,7 +21,7 @@ from gi.repository import GLib
 
 import gtweak
 from gtweak.utils import XSettingsOverrides, walk_directories, make_combo_list_with_default
-from gtweak.widgets import ListBoxTweakGroup, GSettingsComboTweak, GSettingsSwitchTweak, 
GetterSetterSwitchTweak, Title
+from gtweak.widgets import ListBoxTweakGroup, GSettingsComboTweak, GSettingsSwitchTweak, 
GetterSetterSwitchTweak, Title, GSettingsComboEnumTweak
 
 class PrimaryPasteTweak(GetterSetterSwitchTweak):
     def __init__(self, **options):
@@ -73,5 +73,11 @@ TWEAK_GROUPS = [
                              "locate-pointer", 
                               schema_filename="org.gnome.settings-daemon.peripherals.gschema.xml"),
         PrimaryPasteTweak(),
+
+        Title(_("Touchpad"), ""),
+        GSettingsComboEnumTweak(_("Click method"),
+                                "org.gnome.desktop.peripherals.touchpad",
+                                "click-method",
+                                schema_filename="org.gnome.desktop.peripherals.gschema.xml"),
         ),
 ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]