rev 6643 - trunk/packages/kdeutils/debian/patches
Ana Beatriz Guerrero López
ana at alioth.debian.org
Tue Jul 3 14:36:47 UTC 2007
Author: ana
Date: 2007-07-03 14:36:47 +0000 (Tue, 03 Jul 2007)
New Revision: 6643
Modified:
trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff
Log:
new patch.
Modified: trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff
===================================================================
--- trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff 2007-07-03 14:31:19 UTC (rev 6642)
+++ trunk/packages/kdeutils/debian/patches/16_klaptopdaemon_lock_and_hibernate.diff 2007-07-03 14:36:47 UTC (rev 6643)
@@ -1,22 +1,24 @@
---- klaptopdaemon/daemondock.cpp 2007-06-18 22:08:51.000000000 +0200
-+++ klaptopdaemon/daemondock.cpp 2007-06-18 22:16:24.000000000 +0200
+Index: klaptopdaemon/daemondock.cpp
+===================================================================
+--- klaptopdaemon/daemondock.cpp (revisión: 677792)
++++ klaptopdaemon/daemondock.cpp (copia de trabajo)
@@ -30,6 +30,7 @@
#include <klocale.h>
#include <kpopupmenu.h>
#include <dcopclient.h>
-+#include <dcopref.h>
++#include <dcopref.h>
#include "kpcmciainfo.h"
#include "daemondock.h"
#include "portable.h"
-@@ -501,7 +502,10 @@
+@@ -499,9 +500,8 @@
+
+ void laptop_dock::invokeLockHibernation()
{
- DCOPClient* client = kapp->dcopClient();
- if (client)
+- DCOPClient* client = kapp->dcopClient();
+- if (client)
- client->send("kdesktop", "KScreensaverIface", "lock()", "");
-+ {
-+ client->attach();
-+ DCOPRef("kdesktop", "KScreenSaverIface").call("lock");
-+ }
++ DCOPRef("kdesktop", "KScreensaverIface").call("lock()");
++
laptop_portable::invoke_hibernation();
}
void laptop_dock::invokeStandby()
More information about the pkg-kde-commits
mailing list