[hamster-applet/gnome-2-32] on no data hide the year selector
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet/gnome-2-32] on no data hide the year selector
- Date: Mon, 13 Sep 2010 11:50:54 +0000 (UTC)
commit ca61f8ab75fdf73c1837820503f917ed4a4c680f
Author: Toms Bauģis <toms baugis gmail com>
Date: Mon Sep 13 12:50:47 2010 +0100
on no data hide the year selector
src/hamster/stats.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/hamster/stats.py b/src/hamster/stats.py
index 810a0a1..608263f 100644
--- a/src/hamster/stats.py
+++ b/src/hamster/stats.py
@@ -157,6 +157,7 @@ class Stats(object):
facts)
if not facts or (facts[-1]["start_time"] - facts[0]["start_time"]) < dt.timedelta(days=6):
+ self.get_widget("explore_controls").hide()
self.get_widget("statistics_box").hide()
#self.get_widget("explore_controls").hide()
label = self.get_widget("not_enough_records_label")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]