diff --git a/gramps2/src/ViewManager.py b/gramps2/src/ViewManager.py index 184bea807..37011fc68 100644 --- a/gramps2/src/ViewManager.py +++ b/gramps2/src/ViewManager.py @@ -1122,6 +1122,7 @@ class ViewManager: f.write('' % new_key) actions.append((new_key, None, name[2], None, None, func(name, self.state, self.uistate))) + print func, name f.write('') # If there are any unsupported items we add separator @@ -1130,13 +1131,14 @@ class ViewManager: f.write('') f.write('' % Plugins.UNSUPPORTED) actions.append((Plugins.UNSUPPORTED, None, Plugins.UNSUPPORTED)) - lst = hash_data[key] + lst = hash_data[Plugins.UNSUPPORTED] lst.sort(by_menu_name) for name in lst: new_key = name[3].replace(' ', '-') f.write('' % new_key) actions.append((new_key, None, name[2], None, None, func(name, self.state, self.uistate))) + print func, name f.write('') f.write('')