From ed1d579bfcabd0be4a0892571dd9879f0eb4556a Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 8 Oct 2013 01:29:18 +0000 Subject: [PATCH] Add Gallery 'Make Active Media', typo svn: r23274 --- gramps/gui/editors/displaytabs/gallerytab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gui/editors/displaytabs/gallerytab.py b/gramps/gui/editors/displaytabs/gallerytab.py index 318a7290f..39595e54c 100644 --- a/gramps/gui/editors/displaytabs/gallerytab.py +++ b/gramps/gui/editors/displaytabs/gallerytab.py @@ -165,10 +165,10 @@ class GalleryTab(ButtonTab, DbGUIElement): item = Gtk.MenuItem(_('Make Active Media')) item.connect('activate', lambda obj: self.uistate.set_active(ref_obj.handle, "Media")) item.show() - menu.append(item) + self.menu.append(item) item = Gtk.SeparatorMenuItem() item.show() - menu.append(item) + self.menu.append(item) for (needs_write_access, image, title, func) in itemlist: if image: