[hamster-applet] checking out current day in the trophies
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] checking out current day in the trophies
- Date: Wed, 18 Aug 2010 22:42:47 +0000 (UTC)
commit d385ad715745d82a00f065b172d9bfbf6119f59d
Author: Toms Bauģis <toms baugis gmail com>
Date: Wed Aug 18 23:42:14 2010 +0100
checking out current day in the trophies
src/hamster/client.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/client.py b/src/hamster/client.py
index 413012b..a96588d 100644
--- a/src/hamster/client.py
+++ b/src/hamster/client.py
@@ -111,7 +111,9 @@ class Storage(gobject.GObject):
"""returns facts of the current date, respecting hamster midnight
hamster midnight is stored in gconf, and presented in minutes
"""
- return [from_dbus_fact(fact) for fact in self.conn.GetTodaysFacts()]
+ today = [from_dbus_fact(fact) for fact in self.conn.GetTodaysFacts()]
+ checker.check_today(today)
+ return today
def get_facts(self, date, end_date = None, search_terms = ""):
"""Returns facts for the time span matching the optional filter criteria.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]