mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
pantheon.switchboard-plug-a11y: hardcode path to onboard-settings
This commit is contained in:
parent
5c04758bf7
commit
81a1bd6cfd
@ -1,4 +1,5 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
|
, substituteAll
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pantheon
|
, pantheon
|
||||||
, meson
|
, meson
|
||||||
@ -9,6 +10,7 @@
|
|||||||
, granite
|
, granite
|
||||||
, gtk3
|
, gtk3
|
||||||
, switchboard
|
, switchboard
|
||||||
|
, onboard
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -22,6 +24,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1wh46lrsliii5bbvfc4xnzgnii2v7sqxnbn43ylmyqppfv9mk1wd";
|
sha256 = "1wh46lrsliii5bbvfc4xnzgnii2v7sqxnbn43ylmyqppfv9mk1wd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(substituteAll {
|
||||||
|
src = ./fix-paths.patch;
|
||||||
|
inherit onboard;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = pantheon.updateScript {
|
updateScript = pantheon.updateScript {
|
||||||
repoName = pname;
|
repoName = pname;
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/Panes/Typing.vala b/src/Panes/Typing.vala
|
||||||
|
index b4ae8b0..5b8fd7e 100644
|
||||||
|
--- a/src/Panes/Typing.vala
|
||||||
|
+++ b/src/Panes/Typing.vala
|
||||||
|
@@ -83,7 +83,7 @@ public class Accessibility.Panes.Typing : Categories.Pane {
|
||||||
|
|
||||||
|
onboard_settings_label.clicked.connect (() => {
|
||||||
|
try {
|
||||||
|
- var appinfo = AppInfo.create_from_commandline ("onboard-settings", null, AppInfoCreateFlags.NONE);
|
||||||
|
+ var appinfo = AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, AppInfoCreateFlags.NONE);
|
||||||
|
appinfo.launch (null, null);
|
||||||
|
} catch (Error e) {
|
||||||
|
warning ("%s\n", e.message);
|
Loading…
Reference in New Issue
Block a user