From 1a926e7b7956cdfcee3948b6952474f4862d3de5 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sun, 12 Dec 2021 20:48:58 +0100 Subject: [PATCH] Fix peripherals mouse schema (#188) --- lib/schemas/schemas.dart | 5 +---- .../pages/mouse_and_touchpad/mouse_and_touchpad_model.dart | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/schemas/schemas.dart b/lib/schemas/schemas.dart index 4aeaf86e..664e2757 100644 --- a/lib/schemas/schemas.dart +++ b/lib/schemas/schemas.dart @@ -9,10 +9,7 @@ const String schemaPeripheralsKeyboard = const String schemaWmPreferences = 'org.gnome.desktop.wm.preferences'; const schemaWmKeybindings = 'org.gnome.desktop.wm.keybindings'; const schemaGnomeShellKeybinding = 'org.gnome.shell.keybindings'; -const String schemaPeripheralsMouse = - 'org.gnome.settings-daemon.peripherals.mouse'; -const String schemaDesktopPeripheralsMouse = - 'org.gnome.desktop.peripherals.mouse'; +const String schemaPeripheralsMouse = 'org.gnome.desktop.peripherals.mouse'; const String schemaPeripheralTouchpad = 'org.gnome.desktop.peripherals.touchpad'; const String schemaSound = 'org.gnome.desktop.sound'; diff --git a/lib/view/pages/mouse_and_touchpad/mouse_and_touchpad_model.dart b/lib/view/pages/mouse_and_touchpad/mouse_and_touchpad_model.dart index b8d32302..ee27272c 100644 --- a/lib/view/pages/mouse_and_touchpad/mouse_and_touchpad_model.dart +++ b/lib/view/pages/mouse_and_touchpad/mouse_and_touchpad_model.dart @@ -11,8 +11,7 @@ class MouseAndTouchpadModel extends ChangeNotifier { static const _touchpadDisableWhileTyping = 'disable-while-typing'; MouseAndTouchpadModel(SettingsService service) - : _peripheralsMouseSettings = - service.lookup(schemaDesktopPeripheralsMouse), + : _peripheralsMouseSettings = service.lookup(schemaPeripheralsMouse), _peripheralsTouchpadSettings = service.lookup(schemaPeripheralTouchpad) { _peripheralsMouseSettings?.addListener(notifyListeners);