Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tacollaboration.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-02-11 01:25:50 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-02-11 01:25:50 (GMT)
commit2de8750d06fa9dba23bda081de57a89c464fc697 (patch)
tree6945ce83598e36f7d7e83e67174529a8a0da278a /TurtleArt/tacollaboration.py
parent4ac06b5c41e9405afd5a5401ef50e2d6b17d01de (diff)
running sugar detection
Diffstat (limited to 'TurtleArt/tacollaboration.py')
-rw-r--r--TurtleArt/tacollaboration.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/TurtleArt/tacollaboration.py b/TurtleArt/tacollaboration.py
index ae56b1e..2df923a 100644
--- a/TurtleArt/tacollaboration.py
+++ b/TurtleArt/tacollaboration.py
@@ -81,8 +81,7 @@ class Collaboration():
'w' : self._set_pen_width,
'p' : self._set_pen_state,
'F' : self._fill_polygon,
- 'P' : self._draw_pixbuf,
- 'z' : self._clear
+ 'P' : self._draw_pixbuf
}
def _shared_cb(self, activity):
@@ -335,7 +334,7 @@ class Collaboration():
def _get_colors(self):
colors = None
- if profile:
+ if self._tw.running_sugar:
if profile.get_color() is not None:
colors = profile.get_color().to_string()
else: