* src/Filters/_FilterParser.py (startElement): Upgrade existing

custom_filters file from Media to MediaObject.


svn: r7237
This commit is contained in:
Alex Roitman 2006-08-22 17:50:56 +00:00
parent 3698662a64
commit ead038c2a1
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
2006-08-22 Alex Roitman <shura@gramps-project.org>
* src/Filters/_FilterParser.py (startElement): Upgrade existing
custom_filters file from Media to MediaObject.
* src/Selectors/_SelectEvent.py (get_handle_column): Correct
handle column number.
* configure.in: Reflect directory change.

View File

@ -59,6 +59,8 @@ class FilterParser(handler.ContentHandler):
if tag == "object":
if attrs.has_key('type'):
self.namespace = attrs['type']
if self.namespace == 'Media':
self.namespace = 'MediaObject'
else:
self.namespace = "generic"
elif tag == "filter":