summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-24 20:48:35 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-24 20:48:35 +0200
commit4f411154e747b655fce18f115d0d893040c618fc (patch)
tree3f3b862d71f531575381c694f75c8336cf298b44 /redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch
parent3fbac94d736aa9c26be38aec4665545eadddb617 (diff)
downloadtde-packaging-4f411154e747b655fce18f115d0d893040c618fc.tar.gz
tde-packaging-4f411154e747b655fce18f115d0d893040c618fc.zip
RPM Packaging: Update kvirc, tdepowersave.
Add mplayerthumbs.
Diffstat (limited to 'redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch')
-rw-r--r--redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch b/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch
new file mode 100644
index 000000000..08492a890
--- /dev/null
+++ b/redhat/applications/tdepowersave/tdepowersave-14.0.0-fix_hibernate.patch
@@ -0,0 +1,11 @@
+--- trinity-tdepowersave/src/hardware.cpp.ORI 2013-07-24 12:19:52.432706499 +0200
++++ trinity-tdepowersave/src/hardware.cpp 2013-07-24 12:20:01.956723548 +0200
+@@ -546,7 +546,7 @@
+ }
+ if ((*it) == TDESystemPowerState::Hibernate) {
+ suspend_states.suspend2disk = true;
+- suspend_states.suspend2disk_allowed = rdevice->canSuspend();
++ suspend_states.suspend2disk_allowed = rdevice->canHibernate();
+ suspend_states.suspend2disk_can = suspend_states.suspend2disk_allowed & suspend_states.suspend2disk;
+ }
+ if ((*it) == TDESystemPowerState::PowerOff) {