[hamster-applet] don't die without facts
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet] don't die without facts
- Date: Sun, 20 Dec 2009 14:54:01 +0000 (UTC)
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]