[gnome-power-manager] trivial: add additional error message
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] trivial: add additional error message
- Date: Fri, 5 Feb 2010 10:14:02 +0000 (UTC)
commit 37cd54a7aa2752da70bf5252c7d3ecc8ce041a65
Author: Marc Deslauriers <marcdeslauriers videotron ca>
Date: Fri Feb 5 10:02:10 2010 +0000
trivial: add additional error message
Here is a trivial patch to add an additional error message when the timeout is
hit while waiting for gnome-screensaver. This helps debugging screen locking
problems.
Signed-off-by: Richard Hughes <richard hughsie com>
src/gpm-screensaver.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gpm-screensaver.c b/src/gpm-screensaver.c
index 6cd5a3a..ce31bfc 100644
--- a/src/gpm-screensaver.c
+++ b/src/gpm-screensaver.c
@@ -177,6 +177,7 @@ gpm_screensaver_lock (GpmScreensaver *screensaver)
/* Sleep for 1/10s */
g_usleep (1000 * 100);
if (sleepcount++ > 50) {
+ egg_debug ("timeout waiting for gnome-screensaver");
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]