From c7ad3f3295b32f18efea96dac233aae529f5e131 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 27 Dec 2012 17:50:58 +0000 Subject: [PATCH] correct wrong function call svn: r20851 --- gramps/gui/editors/displaytabs/embeddedlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/editors/displaytabs/embeddedlist.py b/gramps/gui/editors/displaytabs/embeddedlist.py index 62ba57978..79944eea6 100644 --- a/gramps/gui/editors/displaytabs/embeddedlist.py +++ b/gramps/gui/editors/displaytabs/embeddedlist.py @@ -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)