From bde0306a2345bddb991f8107c809136b6b0f5868 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 14 Mar 2011 01:54:12 +0000 Subject: add a label to the remote turtles (experimental); fix bug that prevented colors being set for remote turtles on resume --- (limited to 'TurtleArt/tacollaboration.py') diff --git a/TurtleArt/tacollaboration.py b/TurtleArt/tacollaboration.py index 4a4d1fe..4955777 100644 --- a/TurtleArt/tacollaboration.py +++ b/TurtleArt/tacollaboration.py @@ -218,6 +218,7 @@ class Collaboration(): self._tw.turtle_dictionary = {nick: colors} # Add new turtle for the joiner. self._tw.canvas.set_turtle(nick, colors) + self._tw.label_remote_turtle(nick) # Sharer should send turtle dictionary. if self.initiating: event_payload = data_to_string(self._tw.turtle_dictionary) @@ -232,6 +233,7 @@ class Collaboration(): colors = self._tw.turtle_dictionary[nick] # add new turtle for the joiner self._tw.canvas.set_turtle(nick, colors) + self._tw.label_remote_turtle(nick) self.waiting_for_turtles = False def _draw_pixbuf(self, payload): -- cgit v0.9.1