onboard: Depend on mousetweaks

authored by

Daniel Schaefer and committed by
worldofpeace
9da62cb0 08588e7c

+18
+7
pkgs/applications/misc/onboard/default.nix
··· 1 { fetchurl 2 , stdenv 3 , aspellWithDicts 4 , at-spi2-core ? null 5 , atspiSupport ? true ··· 16 , intltool 17 , isocodes 18 , libcanberra-gtk3 19 , udev 20 , libxkbcommon 21 , pkgconfig ··· 38 }; 39 40 patches = [ 41 # Allow loading hunspell dictionaries installed in NixOS system path 42 ./hunspell-use-xdg-datadirs.patch 43 ]; ··· 79 hunspell 80 isocodes 81 libcanberra-gtk3 82 udev 83 libxkbcommon 84 wrapGAppsHook
··· 1 { fetchurl 2 , stdenv 3 + , substituteAll 4 , aspellWithDicts 5 , at-spi2-core ? null 6 , atspiSupport ? true ··· 17 , intltool 18 , isocodes 19 , libcanberra-gtk3 20 + , mousetweaks 21 , udev 22 , libxkbcommon 23 , pkgconfig ··· 40 }; 41 42 patches = [ 43 + (substituteAll { 44 + src = ./fix-paths.patch; 45 + inherit mousetweaks; 46 + }) 47 # Allow loading hunspell dictionaries installed in NixOS system path 48 ./hunspell-use-xdg-datadirs.patch 49 ]; ··· 85 hunspell 86 isocodes 87 libcanberra-gtk3 88 + mousetweaks 89 udev 90 libxkbcommon 91 wrapGAppsHook
+11
pkgs/applications/misc/onboard/fix-paths.patch
···
··· 1 + --- a/Onboard/ClickSimulator.py 2 + +++ b/Onboard/ClickSimulator.py 3 + @@ -479,7 +479,7 @@ class CSMousetweaks(ConfigObject, ClickSimulator): 4 + self._daemon_running_notify_callbacks = [] 5 + 6 + def _launch_daemon(self, delay): 7 + - self.launcher.launch_delayed(["mousetweaks"], delay) 8 + + self.launcher.launch_delayed(["@mousetweaks@/bin/mousetweaks"], delay) 9 + 10 + def _set_connection(self, active): 11 + ''' Update interface object, state and notify listeners '''