pylint nitpick
This commit is contained in:
parent
e56b381bd3
commit
bbd8c14cf1
@ -43,7 +43,8 @@ class MenuItem(gtk.ImageMenuItem):
|
|||||||
label.show()
|
label.show()
|
||||||
|
|
||||||
if icon_name is not None:
|
if icon_name is not None:
|
||||||
icon = Icon(icon_name=icon_name, icon_size=gtk.ICON_SIZE_SMALL_TOOLBAR)
|
icon = Icon(icon_name=icon_name,
|
||||||
|
icon_size=gtk.ICON_SIZE_SMALL_TOOLBAR)
|
||||||
if xo_color is not None:
|
if xo_color is not None:
|
||||||
icon.props.xo_color = xo_color
|
icon.props.xo_color = xo_color
|
||||||
self.set_image(icon)
|
self.set_image(icon)
|
||||||
|
Loading…
Reference in New Issue
Block a user