diff options
-rw-r--r-- | activity.py | 4 | ||||
-rw-r--r-- | activity/activity.info | 2 | ||||
-rw-r--r-- | bin/COPYING (renamed from gnugo/COPYING) | 0 | ||||
-rw-r--r-- | bin/README (renamed from gnugo/README) | 0 | ||||
-rwxr-xr-x | bin/gnugo (renamed from gnugo/gnugo) | bin | 2572664 -> 2572664 bytes | |||
-rw-r--r-- | gtp.py | 2 |
6 files changed, 4 insertions, 4 deletions
diff --git a/activity.py b/activity.py index 10cdaf1..487e7bc 100644 --- a/activity.py +++ b/activity.py @@ -347,7 +347,7 @@ class PlayGo(Activity): else: winner_string = _('There was a tie!') self.infopanel.show(_('Game ended! %s' % winner_string)) - self.infopanel.show_score(_('Final score: White %(W)d - Black %(B)d' % final_score)) + self.infopanel.show_score(_('Final score: White %(W)g - Black %(B)g' % final_score)) def board_size_change(self, widget, size): self.lastY = -1 @@ -398,7 +398,7 @@ class PlayGo(Activity): #logger.debug('Dumping board: %s', self.ai.dump_board()) def show_score(self): - self.infopanel.show_score(_("Score is: White %(W)d - Black %(B)d" % self.game.get_score())) + self.infopanel.show_score(_("Score is: White %(W)g - Black %(B)g" % self.game.get_score())) def _alert(self, title, text=None): from sugar.graphics.alert import NotifyAlert diff --git a/activity/activity.info b/activity/activity.info index 1144c42..eeae252 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -2,7 +2,7 @@ name = PlayGo license = GPLv2+ bundle_id = org.laptop.PlayGo -class = activity.PlayGo +exec = sugar-activity activity.PlayGo icon = activity-go activity_version = 5 host_version = 1 diff --git a/gnugo/COPYING b/bin/COPYING index 2070779..2070779 100644 --- a/gnugo/COPYING +++ b/bin/COPYING diff --git a/gnugo/README b/bin/README Binary files differindex c6fc525..c6fc525 100644 --- a/gnugo/README +++ b/bin/README @@ -31,7 +31,7 @@ def search_for_gnugo(): for path in paths: if exists(join(path, 'gnugo')): return abspath(join(path, 'gnugo')) - default_path = join(get_bundle_path(), 'gnugo', 'gnugo') + default_path = join(get_bundle_path(), 'bin', 'gnugo') if exists(default_path): return abspath(default_path) return False |