diff options
author | Pierre Equoy <pierre.equoy@canonical.com> | 2022-06-15 11:54:54 +0800 |
---|---|---|
committer | Pierre Equoy <pierre.equoy@canonical.com> | 2022-06-15 11:54:54 +0800 |
commit | f46c63f429b8f2cfaa95a004e38b4bde03b47fbf (patch) | |
tree | 33df1bd2b4e1e5ab5ba169a822e3877e2fa58c02 | |
parent | af20bbbdada16cdcb36af1cb7f86918d8ed9f196 (diff) |
Fix:touchpad_test.py: remove unused gsettings key
"horiz-scroll-enabled" has been removed in GNOME 3.34 and was never an official key to begin with (it had to be enabled manually in dconf).
-rwxr-xr-x | bin/touchpad_test.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/touchpad_test.py b/bin/touchpad_test.py index 9c55196..b859730 100755 --- a/bin/touchpad_test.py +++ b/bin/touchpad_test.py @@ -124,15 +124,10 @@ class GtkScroller(object): def run(self): # Save touchpad settings. - if self.horiz_scroll_key: - self.saved_horiz_scroll_enabled = \ - self.touchpad_settings.get_boolean("horiz-scroll-enabled") self.saved_scroll_method = self.touchpad_settings.get_string( "scroll-method") # Set touchpad settings. - if self.horiz_scroll_key: - self.touchpad_settings.set_boolean("horiz-scroll-enabled", True) if self.edge_scroll: self.touchpad_settings.set_string( "scroll-method", "edge-scrolling") @@ -141,9 +136,6 @@ class GtkScroller(object): def quit(self): # Reset touchpad settings. - if self.horiz_scroll_key: - self.touchpad_settings.set_boolean( - "horiz-scroll-enabled", self.saved_horiz_scroll_enabled) self.touchpad_settings.set_string( "scroll-method", self.saved_scroll_method) |