pantheon.switchboard-plug-about: 2.5.2 -> 2.6.0
* depends on elementary-feedback * don't need to override pkgconfig anymore https://github.com/elementary/switchboard-plug-about/commit/b513ee2e1c492d60e17a0709dd77899d796b2e62 * 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
This commit is contained in:
@@ -0,0 +1,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");
|
||||
Reference in New Issue
Block a user