From 7f9ffd64145a44ac7701f5bfd130cb19d0be39a6 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sun, 06 Feb 2011 16:26:58 +0000 Subject: reworking of arguments used in sharing pixbufs --- (limited to 'TurtleArt/tacollaboration.py') 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: -- cgit v0.9.1