correct wrong function call
svn: r20852
This commit is contained in:
parent
51a53ccebd
commit
a4239f83d3
@ -156,7 +156,7 @@ class EmbeddedList(ButtonTab):
|
||||
if image:
|
||||
if isinstance(title, tuple):
|
||||
img_stock, txt = title
|
||||
item = Gtk.ImageMenuItem.new_from_label(txt)
|
||||
item = Gtk.ImageMenuItem.new_with_label(txt)
|
||||
img = Gtk.Image()
|
||||
img.set_from_stock(img_stock, Gtk.IconSize.MENU)
|
||||
item.set_image(img)
|
||||
|
Loading…
Reference in New Issue
Block a user