[hamster-applet/2_28_no_bars] added two strokes before and after just to make sure



commit b3fc23979d811e5cb949d997da20099ed7eee625
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Nov 10 21:31:56 2009 +0000

    added two strokes before and after just to make sure

 hamster/charting.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/hamster/charting.py b/hamster/charting.py
index 4136514..bba0df6 100644
--- a/hamster/charting.py
+++ b/hamster/charting.py
@@ -501,8 +501,10 @@ class HorizontalBarChart(Chart):
 
                 bar_height = bar_width - (gap * 2)
                 
+                self.context.stroke()
                 self.draw_bar(self.graph_x, bar_y, bar_size, bar_height,
                                                                      base_color)
+                self.context.stroke()
 
             # values on bars
             if self.stack_keys:



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