Forgot this change from my reviewers. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
This commit is contained in:
parent
693eaab975
commit
ee0e15b95d
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user