[hamster-applet] allow d-bus introspection by returning true and not knowing why
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Subject: [hamster-applet] allow d-bus introspection by returning true and not knowing why
- Date: Mon, 25 May 2009 18:42:03 -0400 (EDT)
commit f7b8cdb89c1adecf2c60ca7149461647dc2e086e
Author: Toms Bauģis <toms baugis gmail com>
Date: Mon May 25 23:41:49 2009 +0100
allow d-bus introspection by returning true and not knowing why
---
hamster/idle.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hamster/idle.py b/hamster/idle.py
index f6fe890..06313bc 100644
--- a/hamster/idle.py
+++ b/hamster/idle.py
@@ -97,7 +97,7 @@ class DbusIdleListener(object):
# for it above, but even so we still hear from ourselves
# (hamster messages).
if not message.get_interface() == self.screensaver_uri:
- return
+ return True
# Signal type messages have a value of 4, and method_call type
# ones have a value of 1. I'm not sure how important it is to
@@ -120,5 +120,7 @@ class DbusIdleListener(object):
if __debug__:
print "Screen Lock Requested"
self.is_screen_locked = True
+
+ return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]