* src/Filters/_FilterParser.py (startElement): Upgrade existing
custom_filters file from Media to MediaObject. svn: r7237
This commit is contained in:
parent
3698662a64
commit
ead038c2a1
@ -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.
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user