Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activity.py4
-rw-r--r--activity/activity.info2
-rw-r--r--bin/COPYING (renamed from gnugo/COPYING)0
-rw-r--r--bin/README (renamed from gnugo/README)0
-rwxr-xr-xbin/gnugo (renamed from gnugo/gnugo)bin2572664 -> 2572664 bytes
-rw-r--r--gtp.py2
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
index c6fc525..c6fc525 100644
--- a/gnugo/README
+++ b/bin/README
diff --git a/gnugo/gnugo b/bin/gnugo
index 5ea3cb5..5ea3cb5 100755
--- a/gnugo/gnugo
+++ b/bin/gnugo
Binary files differ
diff --git a/gtp.py b/gtp.py
index 646c271..9b0b620 100644
--- a/gtp.py
+++ b/gtp.py
@@ -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