96f72ebe93
* depends on elementary-feedback
* don't need to override pkgconfig anymore
b513ee2e1c
* drop remove-update-button.patch
The button isn't added if appcenter isn't installed now.
https://github.com/elementary/switchboard-plug-about/releases/tag/2.6.0
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
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");
|