Skip to content

Commit 1a926e7

Browse files
authored
Fix peripherals mouse schema (#188)
1 parent 68519be commit 1a926e7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

lib/schemas/schemas.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ const String schemaPeripheralsKeyboard =
99
const String schemaWmPreferences = 'org.gnome.desktop.wm.preferences';
1010
const schemaWmKeybindings = 'org.gnome.desktop.wm.keybindings';
1111
const schemaGnomeShellKeybinding = 'org.gnome.shell.keybindings';
12-
const String schemaPeripheralsMouse =
13-
'org.gnome.settings-daemon.peripherals.mouse';
14-
const String schemaDesktopPeripheralsMouse =
15-
'org.gnome.desktop.peripherals.mouse';
12+
const String schemaPeripheralsMouse = 'org.gnome.desktop.peripherals.mouse';
1613
const String schemaPeripheralTouchpad =
1714
'org.gnome.desktop.peripherals.touchpad';
1815
const String schemaSound = 'org.gnome.desktop.sound';

lib/view/pages/mouse_and_touchpad/mouse_and_touchpad_model.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ class MouseAndTouchpadModel extends ChangeNotifier {
1111
static const _touchpadDisableWhileTyping = 'disable-while-typing';
1212

1313
MouseAndTouchpadModel(SettingsService service)
14-
: _peripheralsMouseSettings =
15-
service.lookup(schemaDesktopPeripheralsMouse),
14+
: _peripheralsMouseSettings = service.lookup(schemaPeripheralsMouse),
1615
_peripheralsTouchpadSettings =
1716
service.lookup(schemaPeripheralTouchpad) {
1817
_peripheralsMouseSettings?.addListener(notifyListeners);

0 commit comments

Comments
 (0)