correct wrong function call
svn: r20851
This commit is contained in:
parent
11723ffd8c
commit
c7ad3f3295
@ -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