From 89b880031d5d3d086dc737ca3367172443ea5aa5 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Wed, 11 Jul 2007 16:44:41 +0000 Subject: - Some more work on collaboration. - Added the hole drumgit game --- diff --git a/activity/activity-memorygame.svg b/activity/activity-memosono.svg index 5a5bf83..5a5bf83 100644 --- a/activity/activity-memorygame.svg +++ b/activity/activity-memosono.svg diff --git a/activity/activity.info b/activity/activity.info index 8b954a8..2949e26 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,6 +1,6 @@ [Activity] name = Memosono -service_name = com.erikos.MemosonoActivity +service_name = org.laptop.Memosono class = memosonoactivity.MemosonoActivity -icon = activity-memorygame +icon = activity-memosono activity_version = 11 diff --git a/buddiespanel.py b/buddiespanel.py index 665c371..e3361ad 100644 --- a/buddiespanel.py +++ b/buddiespanel.py @@ -35,7 +35,7 @@ class BuddyPlayer(hippo.CanvasBox, hippo.CanvasItem): nick = buddy.props.nick if not nick: nick = "" - self.name = hippo.CanvasText(text=nick, color=color.WHITE.get_int()) + self.name = hippo.CanvasText(text=nick, size_mode=hippo.CANVAS_SIZE_WRAP_WORD, color=color.WHITE.get_int()) self.append(self.icon) self.append(self.name) diff --git a/controller.py b/controller.py index 495aeec..4970d87 100644 --- a/controller.py +++ b/controller.py @@ -80,7 +80,7 @@ class Controller(ExportedGObject): for handle in removed: buddy = self._get_buddy(handle) if buddy is not None: - _logger.debug('buddy %r was removed', buddy) + _logger.debug('-----> buddy %r was removed', buddy) self.buddies_panel.remove_player(buddy) self.numplayers-=1 if self.is_initiator: diff --git a/csound/csoundserver.py b/csound/csoundserver.py index 45eca28..6e7c815 100644 --- a/csound/csoundserver.py +++ b/csound/csoundserver.py @@ -31,7 +31,7 @@ class CsoundServer(Thread): def perform(self, msg): _logger.debug(' [perform_cb] %s'%str(msg)) - self.perf.InputMessage(msg) + self.perf.InputMessage(str(msg)) def quit(self): _logger.info('quit') diff --git a/games/drumgit/drumgit.mson b/games/drumgit/drumgit.mson index 0c3aaae..4498ae5 100644 --- a/games/drumgit/drumgit.mson +++ b/games/drumgit/drumgit.mson @@ -1,17 +1,29 @@ - - + + + - + + + + + + + + -