[hamster-applet] remove listener on close



commit 4a2c3ac76e90fa8a716e78a1650701dcc302f186
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Jan 12 13:43:55 2010 +0000

    remove listener on close

 hamster/stats.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/hamster/stats.py b/hamster/stats.py
index b7cabd3..ece3096 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -334,6 +334,7 @@ class StatsViewer(object):
     def on_close(self, widget, event):
         runtime.dispatcher.del_handler('activity_updated', self.after_activity_update)
         runtime.dispatcher.del_handler('day_updated', self.after_fact_update)
+        runtime.dispatcher.del_handler('conf_changed', self.on_conf_change)
         self.close_window()
 
     def on_window_key_pressed(self, tree, event_key):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]