libfmvoice: 0-unstable-2024-11-08 -> 0-unstable-2024-12-11 (#364919)
[NixPkgs.git] / pkgs / desktops / pantheon / apps / switchboard-plugs / keyboard / fix-paths.patch
blob47f29161c47219d9b2623aa0276fcfd7032517a4
1 diff --git a/src/Behavior/Behavior.vala b/src/Behavior/Behavior.vala
2 index bd461685..b6371096 100644
3 --- a/src/Behavior/Behavior.vala
4 +++ b/src/Behavior/Behavior.vala
5 @@ -252,7 +252,7 @@ public class Keyboard.Behaviour.Page : Gtk.Box {
7 onscreen_keyboard_settings.clicked.connect (() => {
8 try {
9 - var appinfo = AppInfo.create_from_commandline ("onboard-settings", null, NONE);
10 + var appinfo = AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, NONE);
11 appinfo.launch (null, null);
12 } catch (Error e) {
13 critical ("Unable to launch onboard-settings: %s", e.message);
14 diff --git a/src/Layout/Widgets/AddLayoutDialog.vala b/src/Layout/Widgets/AddLayoutDialog.vala
15 index 25cc0fe9..b3e350bb 100644
16 --- a/src/Layout/Widgets/AddLayoutDialog.vala
17 +++ b/src/Layout/Widgets/AddLayoutDialog.vala
18 @@ -206,7 +206,7 @@ public class Keyboard.LayoutPage.AddLayoutDialog : Granite.Dialog {
19 });
21 keyboard_map_button.clicked.connect (() => {
22 - string command = "gkbd-keyboard-display \"--layout=" + layout_id + "\"";
23 + string command = "@libgnomekbd@/bin/gkbd-keyboard-display \"--layout=" + layout_id + "\"";
24 try {
25 AppInfo.create_from_commandline (command, null, AppInfoCreateFlags.NONE).launch (null, null);
26 } catch (Error e) {