diff --git a/gramps/gui/clipboard.py b/gramps/gui/clipboard.py index 6fef3cb4a..9b4dc938b 100644 --- a/gramps/gui/clipboard.py +++ b/gramps/gui/clipboard.py @@ -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): @@ -447,7 +447,7 @@ class ClipTag(ClipHandleWrapper): self._title = value.get_name() self._value = value.get_color() - + class ClipAttribute(ClipObjWrapper): DROP_TARGETS = [DdTargets.ATTRIBUTE] diff --git a/gramps/gui/ddtargets.py b/gramps/gui/ddtargets.py index 5b1dee327..4b0605b9f 100644 --- a/gramps/gui/ddtargets.py +++ b/gramps/gui/ddtargets.py @@ -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