onboard: Depend on mousetweaks

authored by

Daniel Schaefer and committed by
worldofpeace
9da62cb0 08588e7c

+18
+7
pkgs/applications/misc/onboard/default.nix
··· 1 1 { fetchurl 2 2 , stdenv 3 + , substituteAll 3 4 , aspellWithDicts 4 5 , at-spi2-core ? null 5 6 , atspiSupport ? true ··· 16 17 , intltool 17 18 , isocodes 18 19 , libcanberra-gtk3 20 + , mousetweaks 19 21 , udev 20 22 , libxkbcommon 21 23 , pkgconfig ··· 38 40 }; 39 41 40 42 patches = [ 43 + (substituteAll { 44 + src = ./fix-paths.patch; 45 + inherit mousetweaks; 46 + }) 41 47 # Allow loading hunspell dictionaries installed in NixOS system path 42 48 ./hunspell-use-xdg-datadirs.patch 43 49 ]; ··· 79 85 hunspell 80 86 isocodes 81 87 libcanberra-gtk3 88 + mousetweaks 82 89 udev 83 90 libxkbcommon 84 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 '''