Comment 7 for bug 955346

Revision history for this message
Michael Vogt (mvo) wrote :

A small fix:

=== modified file 'softwarecenter/ui/gtk3/widgets/stars.py'
--- softwarecenter/ui/gtk3/widgets/stars.py 2012-03-19 22:05:35 +0000
+++ softwarecenter/ui/gtk3/widgets/stars.py 2012-03-22 14:28:56 +0000
@@ -84,7 +84,7 @@
 class StarRenderer(ShapeStar):

     def __init__(self):
- ShapeStar.__init__(self, 5, 0.6)
+ ShapeStar.__init__(self, 5)

         self.size = StarSize.NORMAL
         self.n_stars = 5
@@ -139,6 +139,8 @@

         cr = cairo.Context(empty_surf)
         cr.set_source(lin)
+ cr.set_line_width(1)
+
         if self.rounded:
             cr.set_line_join(cairo.LINE_CAP_ROUND)