[hamster-applet] don't die without facts



commit 33402385a9eee0943722a347aa7c6b3dcfc4c77e
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sun Dec 20 14:50:53 2009 +0000

    don't die without facts

 hamster/stats_overview.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/hamster/stats_overview.py b/hamster/stats_overview.py
index b8ef178..4ecb721 100644
--- a/hamster/stats_overview.py
+++ b/hamster/stats_overview.py
@@ -75,7 +75,7 @@ class OverviewBox(gtk.VBox):
         runtime.dispatcher.add_handler('activity_updated', self.after_activity_update)
         runtime.dispatcher.add_handler('day_updated', self.after_activity_update)
 
-    def fill_facts_tree(self, facts):
+    def fill_facts_tree(self, facts = None):
         facts = facts or runtime.storage.get_facts(self.start_date, self.end_date)
         self.fact_tree.detach_model()
         



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