nixpkgs-odroid-hc4/pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/fix-paths.patch
2025-12-20 09:59:59 +11:00

13 lines
655 B
Diff

diff --git a/src/Widgets/DeviceList.vala b/src/Widgets/DeviceList.vala
index 0c56f46..33d97b3 100644
--- a/src/Widgets/DeviceList.vala
+++ b/src/Widgets/DeviceList.vala
@@ -39,7 +39,7 @@ public class Power.Widgets.DeviceList : Gtk.ListBox {
string device_path = path_entries.@get (value);
try {
AppInfo statistics_app = AppInfo.create_from_commandline (
- "gnome-power-statistics --device " + device_path,
+ "@gnome_power_manager@/bin/gnome-power-statistics --device " + device_path,
"",
AppInfoCreateFlags.NONE
);