From dfb1787cd401f6c80eba26e29709c9a4a4f5f75c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 30 Oct 2007 23:43:42 +0100 Subject: [PATCH] Use a timeout of 2 seconds for TakeScreenshot to make debugging easier. --- shell/view/Shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/view/Shell.py b/shell/view/Shell.py index c5c48676..a7005873 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -173,9 +173,9 @@ class Shell(gobject.GObject): activity = home_model.get_active_activity() if activity: try: - activity.get_service().TakeScreenshot(timeout=1.0) + activity.get_service().TakeScreenshot(timeout=2.0) except dbus.DBusException, e: - logging.debug('ignoring error raised by TakeScreenshot(): %s', e) + logging.debug('Error raised by TakeScreenshot(): %s', e) def set_zoom_level(self, level): if level == self._zoom_level: