Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/editmap.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 /editmap.py
parent682a6cc29a5658206ba01380ba8186e3af224d7a (diff)
more fixes port to gtk3
Diffstat (limited to 'editmap.py')
-rw-r--r--editmap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/editmap.py b/editmap.py
index 3920b38..7d2fddf 100644
--- a/editmap.py
+++ b/editmap.py
@@ -130,7 +130,7 @@ class EditMapWin(Gtk.HBox):
pxb = GdkPixbuf.Pixbuf.new_from_file_at_size(image_file_name, 100,
100)
self._resources_store.append([title, pxb, image_file_name,
- id_resource, 'resource'])
+ str(id_resource), 'resource'])
logging.error('Loading questions')
for question in self.model.data['questions']:
text = question['question']
@@ -145,7 +145,7 @@ class EditMapWin(Gtk.HBox):
pxb = GdkPixbuf.Pixbuf.new_from_file_at_size(image_file_name, 100,
100)
self._resources_store.append([text, pxb, image_file_name,
- id_question, 'question'])
+ str(id_question), 'question'])
def load_furniture(self):
images_path = os.path.join(activity.get_bundle_path(),