correct wrong function call

svn: r20852
This commit is contained in:
Benny Malengier 2012-12-27 17:51:20 +00:00
parent 51a53ccebd
commit a4239f83d3

View File

@ -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)