Commit 6d9ad5fc authored by Dicson's avatar Dicson
Browse files

SetLocationPlugin.prevent tb

parent 5f8cd57c
...@@ -242,8 +242,8 @@ class SetLocationPluginConfigDialog(GajimPluginConfigDialog): ...@@ -242,8 +242,8 @@ class SetLocationPluginConfigDialog(GajimPluginConfigDialog):
contact).name contact).name
data[contact] = (lat, lon, name) data[contact] = (lat, lon, name)
for jid in data: for jid in data:
path = self.get_path_to_generic_or_avatar(None, path = self.get_path_to_generic_or_avatar(self.path_to_image,
jid=jid, suffix='') jid=jid, suffix='')
marker = Champlain.Label.new_from_file(path) marker = Champlain.Label.new_from_file(path)
marker.set_text(data[jid][2]) marker.set_text(data[jid][2])
self.contacts_layer = Champlain.MarkerLayer() 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