Fixes for GTK3, on_ method changed in do_ method
svn: r20060
This commit is contained in:
parent
1992256b02
commit
4ac709f104
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user