7335: Cleanup code, filenames, and documentation

First part of cleanup, changes:

MediaObject -> Media
mediaobj -> media
mediaobject -> media
This commit is contained in:
Doug Blank
2016-01-23 14:22:41 -05:00
parent 186c2bcfef
commit ee05e0b451
103 changed files with 278 additions and 278 deletions

View File

@@ -148,7 +148,7 @@ class QuickTable(SimpleTable):
objclass, handle = self._link[index]
if (objclass == 'Filter' and
handle[0] in ['Person', 'Family', 'Place', 'Event',
'Repository', 'Note', 'MediaObject',
'Repository', 'Note', 'Media',
'Citation', 'Source']):
menu_item = Gtk.MenuItem(label=_("See data not in Filter"))
menu_item.connect("activate",
@@ -256,7 +256,7 @@ class QuickTable(SimpleTable):
return True # handled event
except WindowActiveError:
pass
elif objclass in ['Media', 'MediaObject']:
elif objclass in ['Media', 'Media']:
ref = self.access.dbase.get_object_from_handle(handle)
if ref:
try: