5322: Fix error when dragging an alternative location onto the clipboard

svn: r18360
This commit is contained in:
Nick Hall 2011-10-22 22:50:46 +00:00
parent 4997134564
commit e27d9e04fe

View File

@ -299,7 +299,7 @@ class ScratchLocation(ScratchObjWrapper):
DRAG_TARGET = DdTargets.LOCATION
ICON = ICONS['location']
def __init__(self):
def __init__(self, dbstate, obj):
super(ScratchLocation, self).__init__(dbstate, obj)
self._type = _("Location")
self._value = "%s %s %s" % (self._obj.get_city(),