[hamster-applet/2_28_no_bars] added show_all before and after activity chart in hope that that will trigger the bars



commit f9cfb2a719f2a2042f647676ccf0e6103993b6b2
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Nov 10 21:06:32 2009 +0000

    added show_all before and after activity chart in hope that that will trigger the bars

 hamster/stats.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/hamster/stats.py b/hamster/stats.py
index 7bd10d0..4fa1050 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -379,6 +379,7 @@ class StatsViewer(object):
                                                    bars_beveled = False,
                                                    animate = False)
         self.get_widget("totals_by_activity").add(self.activity_chart);
+        
 
         
         self.view_date = dt.date.today()
@@ -911,10 +912,11 @@ than 15 minutes you seem to be a busy bee." % ("<b>%d</b>" % short_percent))
 
         category_sums = [[entry[1] / 60.0 * (entry[0][1] == cat)
                             for cat in all_categories] for entry in by_duration]
+        self.get_widget("totals_by_activity").show_all()
         self.activity_chart.plot(by_duration_keys,
                                  category_sums,
                                  stack_keys = all_categories)
-        
+        self.get_widget("totals_by_activity").show_all()
 
     def set_title(self):
         if self.day_view.get_active():



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