GTK3 does not automatically convert type to str, do ourselves
svn: r19963
This commit is contained in:
parent
9a7a6548f3
commit
458ac1cdf0
@ -53,7 +53,7 @@ class Attributes(Gramplet):
|
|||||||
Display the attributes of an object.
|
Display the attributes of an object.
|
||||||
"""
|
"""
|
||||||
for attr in obj.get_attribute_list():
|
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)
|
self.set_has_data(self.model.count > 0)
|
||||||
|
|
||||||
def display_report(self, treeview):
|
def display_report(self, treeview):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user