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)
A small fix:
=== modified file 'softwarecenter /ui/gtk3/ widgets/ stars.py' ui/gtk3/ widgets/ stars.py 2012-03-19 22:05:35 +0000 ui/gtk3/ widgets/ stars.py 2012-03-22 14:28:56 +0000 ShapeStar) :
--- softwarecenter/
+++ softwarecenter/
@@ -84,7 +84,7 @@
class StarRenderer(
def __init__(self): __init_ _(self, 5, 0.6) __init_ _(self, 5)
- ShapeStar.
+ ShapeStar.
self.size = StarSize.NORMAL
self. n_stars = 5
@@ -139,6 +139,8 @@
cr = cairo.Context( empty_surf)
cr.set_ source( lin) line_width( 1)
cr. set_line_ join(cairo. LINE_CAP_ ROUND)
+ cr.set_
+
if self.rounded: