Skip to content

Commit

Permalink
Fix peripherals mouse schema (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnurmi committed Dec 12, 2021
1 parent 68519be commit 1a926e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions lib/schemas/schemas.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1a926e7

Please sign in to comment.