summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-29 21:44:18 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-30 00:11:34 +0200
commitf34703669276d66a0bc30006ad813ea5514b3784 (patch)
tree069fc6bded44d53cd75c78e4a60725e5a23c3769 /app-laptop/batti/files/batti-0.3.8-upower-0.99.patch
parentsys-fs/pysize: Remove last-rited package (diff)
downloadgentoo-f34703669276d66a0bc30006ad813ea5514b3784.tar.gz
gentoo-f34703669276d66a0bc30006ad813ea5514b3784.tar.bz2
gentoo-f34703669276d66a0bc30006ad813ea5514b3784.zip
app-laptop/batti: Remove last-rited package
Closes: https://bugs.gentoo.org/708114 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-laptop/batti/files/batti-0.3.8-upower-0.99.patch')
-rw-r--r--app-laptop/batti/files/batti-0.3.8-upower-0.99.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch b/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch
deleted file mode 100644
index 6f313a594c94..000000000000
--- a/app-laptop/batti/files/batti-0.3.8-upower-0.99.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -Naur batti-0.3.8.orig/src/PowerBackend.py batti-0.3.8/src/PowerBackend.py
---- batti-0.3.8.orig/src/PowerBackend.py 2014-04-15 19:30:34.123260000 +0200
-+++ batti-0.3.8/src/PowerBackend.py 2014-04-15 19:32:11.859168509 +0200
-@@ -180,17 +180,6 @@
-
- properties = dbus.Interface(iface, 'org.freedesktop.DBus.Properties')
-
-- if properties.Get(self.dbus_interface, 'CanSuspend'):
-- self.__can_suspend = True
-- else:
-- self.__can_suspend = False
--
-- if properties.Get(self.dbus_interface, 'CanHibernate'):
-- self.__can_hibernate = True
-- else:
-- self.__can_hibernate = False
--
--
- def __get_interface(self):
- dkit_obj = self.__bus.get_object(self.dbus_service, self.dbus_object)
- return dbus.Interface(dkit_obj, self.dbus_interface)
-@@ -201,12 +190,6 @@
- self.__mc_action(widget, event, data)
-
-
-- def can_suspend(self):
-- return self.__can_suspend and self.__get_interface().SuspendAllowed()
--
-- def can_hibernate(self):
-- return self.__can_hibernate and self.__get_interface().HibernateAllowed()
--
- def suspend(self):
- self.__get_interface().Suspend()
-