[hamster-applet] listening to configuration changes
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet] listening to configuration changes
- Date: Tue, 12 Jan 2010 13:44:06 +0000 (UTC)
commit f66d31a7d1c145111a451a704de9c2d2d10ebbaa
Author: Toms Bauģis <toms baugis gmail com>
Date: Tue Jan 12 13:42:58 2010 +0000
listening to configuration changes
hamster/applet.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/hamster/applet.py b/hamster/applet.py
index 91e2cc1..b8339bf 100755
--- a/hamster/applet.py
+++ b/hamster/applet.py
@@ -288,6 +288,7 @@ class HamsterApplet(object):
# init idle check
self.timeout_enabled = conf.get("enable_timeout")
self.notify_on_idle = conf.get("notify_on_idle")
+ runtime.dispatcher.add_handler('conf_changed', self.on_conf_changed)
# init nagging timeout
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]