summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/apps/switchboard-plugs/about/fix-paths.patch
blob: d458689a32533581dc39eb9989ad7fabfe7e71d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/src/Plug.vala b/src/Plug.vala
index c32efcbe..0cdaeaca 100644
--- a/src/Plug.vala
+++ b/src/Plug.vala
@@ -178,7 +178,7 @@ public class About.Plug : Switchboard.Plug {
 
         var bug_button = new Gtk.Button.with_label (_("Report a Problem"));
         bug_button.clicked.connect (() => {
-            var appinfo = new GLib.DesktopAppInfo ("io.elementary.feedback.desktop");
+            var appinfo = new GLib.DesktopAppInfo ("@elementary_feedback@/bin/io.elementary.feedback.desktop");
             if (appinfo != null) {
                 try {
                     appinfo.launch (null, null);
diff --git a/src/Views/HardwareView.vala b/src/Views/HardwareView.vala
index f8113634..3794bad8 100644
--- a/src/Views/HardwareView.vala
+++ b/src/Views/HardwareView.vala
@@ -179,7 +179,7 @@ public class About.HardwareView : Gtk.Grid {
 
         // Graphics
         try {
-            Process.spawn_command_line_sync ("lspci", out graphics);
+            Process.spawn_command_line_sync ("@pciutils@/bin/lspci", out graphics);
 
             if ("VGA" in graphics) { //VGA-keyword indicates graphics-line
                 string[] lines = graphics.split("\n");