fix: space, change tag to tag-link
This commit is contained in:
parent
0b88f0cbbe
commit
29b316716d
@ -119,7 +119,7 @@ def map2class(target):
|
||||
'place-link': ClipPlace,
|
||||
'placeref': ClipPlaceRef,
|
||||
'note-link': ClipNote,
|
||||
'tag': ClipTag,
|
||||
'tag-link': ClipTag,
|
||||
'TEXT': ClipText}
|
||||
return _d_[target] if target in _d_ else None
|
||||
|
||||
@ -146,7 +146,7 @@ OBJ2TARGET = {"Person": Gdk.atom_intern('person-link', False),
|
||||
'Media': Gdk.atom_intern('media', False),
|
||||
'Place': Gdk.atom_intern('place-link', False),
|
||||
'Note': Gdk.atom_intern('note-link', False),
|
||||
"Tag": Gdk.atom_intern('tag', False)}
|
||||
'Tag': Gdk.atom_intern('tag-link', False)}
|
||||
|
||||
|
||||
def obj2target(target):
|
||||
|
@ -154,7 +154,7 @@ class _DdTargets:
|
||||
self.URL = _DdType(self, 'url')
|
||||
self.SURNAME = _DdType(self, 'surname')
|
||||
self.CITATION_LINK = _DdType(self, 'citation-link')
|
||||
self.TAG_LINK = _DdType(self, 'tag')
|
||||
self.TAG_LINK = _DdType(self, 'tag-link')
|
||||
|
||||
# List of all types that are used between
|
||||
# gramps widgets but should not be exported
|
||||
|
Loading…
Reference in New Issue
Block a user