correct wrong function call

svn: r20851
This commit is contained in:
Benny Malengier 2012-12-27 17:50:58 +00:00
parent 11723ffd8c
commit c7ad3f3295

View File

@ -156,7 +156,7 @@ class EmbeddedList(ButtonTab):
if image: if image:
if isinstance(title, tuple): if isinstance(title, tuple):
img_stock, txt = title img_stock, txt = title
item = Gtk.ImageMenuItem.new_from_label(txt) item = Gtk.ImageMenuItem.new_with_label(txt)
img = Gtk.Image() img = Gtk.Image()
img.set_from_stock(img_stock, Gtk.IconSize.MENU) img.set_from_stock(img_stock, Gtk.IconSize.MENU)
item.set_image(img) item.set_image(img)