From 6d9ad5fc4a0b4b68bd7fc58a7b24f8c036d5dd5e Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Tue, 5 Feb 2013 18:30:04 +0400 Subject: [PATCH] SetLocationPlugin.prevent tb --- set_location/set_location.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/set_location/set_location.py b/set_location/set_location.py index cce36ab..33f9371 100644 --- a/set_location/set_location.py +++ b/set_location/set_location.py @@ -242,8 +242,8 @@ class SetLocationPluginConfigDialog(GajimPluginConfigDialog): contact).name 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) marker.set_text(data[jid][2]) self.contacts_layer = Champlain.MarkerLayer()