GTK3 does not automatically convert type to str, do ourselves

svn: r19963
This commit is contained in:
Benny Malengier 2012-07-09 21:58:30 +00:00
parent 9a7a6548f3
commit 458ac1cdf0

View File

@ -53,7 +53,7 @@ class Attributes(Gramplet):
Display the attributes of an object.
"""
for attr in obj.get_attribute_list():
self.model.add((attr.get_type(), attr.get_value()))
self.model.add((str(attr.get_type()), attr.get_value()))
self.set_has_data(self.model.count > 0)
def display_report(self, treeview):