Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/resources.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2014-04-16 04:00:55 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-05-14 21:21:41 (GMT)
commit8da6a5e066effa5d92d5b284fc0d7d3f1d09892e (patch)
treefd4024c359f224e30dd61346b1e19f291b12fb77 /resources.py
parent682a6cc29a5658206ba01380ba8186e3af224d7a (diff)
more fixes port to gtk3
Diffstat (limited to 'resources.py')
-rw-r--r--resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources.py b/resources.py
index f00fa7e..4af539f 100644
--- a/resources.py
+++ b/resources.py
@@ -197,7 +197,7 @@ class CollectResourcesWin(Gtk.HBox):
logging.error('loading treemodel')
for resource in self.model.data['resources']:
logging.error('adding resource %s', resource)
- self.treemodel.append([resource['title'], resource['id_resource']])
+ self.treemodel.append([resource['title'], str(resource['id_resource'])])
def select_resource(self, treeview):
if treeview.get_selection() is None: