Fixup for previous commit, 693eaab9 - SL #4384

Forgot this change from my reviewers.

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
This commit is contained in:
Manuel Quiñones 2013-01-17 14:28:52 -03:00
parent 693eaab975
commit ee0e15b95d

View File

@ -34,12 +34,10 @@ class ProgressIcon(Gtk.DrawingArea):
""" """
def __init__(self, icon_name, pixel_size, stroke_color, fill_color, def __init__(self, icon_name, pixel_size, stroke_color, fill_color,
direction=None): direction='vertical'):
Gtk.DrawingArea.__init__(self) Gtk.DrawingArea.__init__(self)
self._icon_name = icon_name self._icon_name = icon_name
if direction == None:
direction = 'vertical'
self._direction = direction self._direction = direction
self._progress = 0 self._progress = 0