diff options
author | Walter Bender <walter@sugarlabs.org> | 2011-02-06 16:26:58 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2011-02-06 16:26:58 (GMT) |
commit | 7f9ffd64145a44ac7701f5bfd130cb19d0be39a6 (patch) | |
tree | af50c691434fced6680607d3f4b8e52f9fce2afe /TurtleArt/tacollaboration.py | |
parent | 2a9fdd6306d8986ed72a4cffe6ce903930e9fb8a (diff) |
reworking of arguments used in sharing pixbufs
Diffstat (limited to 'TurtleArt/tacollaboration.py')
-rw-r--r-- | TurtleArt/tacollaboration.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TurtleArt/tacollaboration.py b/TurtleArt/tacollaboration.py index 6fe8705..2b1c074 100644 --- a/TurtleArt/tacollaboration.py +++ b/TurtleArt/tacollaboration.py @@ -225,14 +225,13 @@ class Collaboration(): def _draw_pixbuf(self, payload): if len(payload) > 0: - [nick, [a, b, x, y, w, h, path, width, height, stride, + [nick, [a, b, x, y, w, h, width, height, stride, bits_per_sample, has_alpha, colorspace, data]] =\ data_from_string(payload) if nick != self._tw.nick: self._tw.canvas.draw_pixbuf(gtk.gdk.pixbuf_new_from_data( - base64.standard_b64decode(data), colorspace, has_alpha, - bits_per_sample, width, height, stride), a, b, x, y, w, - h, path, False) + data, colorspace, has_alpha, bits_per_sample, width, + height, stride), a, b, x, y, w, h, None, False) def _move_forward(self, payload): if len(payload) > 0: |