Fixes for GTK3, on_ method changed in do_ method

svn: r20060
This commit is contained in:
Benny Malengier 2012-07-23 21:20:50 +00:00
parent 1992256b02
commit 4ac709f104

View File

@ -360,5 +360,5 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel):
if node.name:
return '<i>%s</i>' % cgi.escape(node.name)
else:
level = len(self.on_get_path(node))
level = len(self.do_get_path(self.get_iter(node)).get_indices())
return '<i>%s</i>' % cgi.escape(COUNTRYLEVELS['default'][level])