From f34703669276d66a0bc30006ad813ea5514b3784 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 29 May 2020 21:44:18 +0200 Subject: app-laptop/batti: Remove last-rited package Closes: https://bugs.gentoo.org/708114 Signed-off-by: Andreas Sturmlechner --- .../batti/files/batti-0.3.8-upower-capital.patch | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 app-laptop/batti/files/batti-0.3.8-upower-capital.patch (limited to 'app-laptop/batti/files/batti-0.3.8-upower-capital.patch') diff --git a/app-laptop/batti/files/batti-0.3.8-upower-capital.patch b/app-laptop/batti/files/batti-0.3.8-upower-capital.patch deleted file mode 100644 index e7f62761661c..000000000000 --- a/app-laptop/batti/files/batti-0.3.8-upower-capital.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 1e0fe57a93ed3996bad295e20eeda81f6af483af Mon Sep 17 00:00:00 2001 -From: Christian Ruppert -Date: Wed, 20 Jul 2016 20:14:32 +0200 -Subject: [PATCH] The type property (in recent UPower at least) needs to have a - capital T - "Type" - ---- - src/PowerBackend.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/PowerBackend.py b/src/PowerBackend.py -index e020b98..56bcb61 100644 ---- a/src/PowerBackend.py -+++ b/src/PowerBackend.py -@@ -165,7 +165,7 @@ def __init__(self): - self.__batteries = {} - for dev in devices: - (prop_iface, dev_iface) = self.__get_battery(dev) -- type = prop_iface.Get(self.device_interface, 'type') -+ type = prop_iface.Get(self.device_interface, 'Type') - if type == self.bat_type: - power_bat = UPowerBattery(prop_iface, dev_iface) - self.__batteries[dev] = power_bat -@@ -228,7 +228,7 @@ def set_right_popup_menu_action(self, action): - def __device_added(self, udi): - (prop_iface, dev_iface) = self.__get_battery(udi) - try: -- type = prop_iface.Get(self.device_interface, 'type') -+ type = prop_iface.Get(self.device_interface, 'Type') - if type == self.bat_type: - power_bat = UPowerBattery(prop_iface, dev_iface) - power_bat.set_left_popup_menu_action(self.__mc_action) -- cgit v1.2.3-65-gdbad