Commit 6d9ad5fc authored by Dicson's avatar Dicson

SetLocationPlugin.prevent tb

parent 5f8cd57c
......@@ -242,8 +242,8 @@ class SetLocationPluginConfigDialog(GajimPluginConfigDialog):
data[contact] = (lat, lon, name)
for jid in data:
path = self.get_path_to_generic_or_avatar(None,
jid=jid, suffix='')
path = self.get_path_to_generic_or_avatar(self.path_to_image,
jid=jid, suffix='')
marker = Champlain.Label.new_from_file(path)
self.contacts_layer = Champlain.MarkerLayer()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment