diff options
-rwxr-xr-x | activity.py | 9 | ||||
-rw-r--r-- | activity/activity-go.svg | 6 | ||||
-rwxr-xr-x | infopanel.py | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/activity.py b/activity.py index 10cb34d..78cc9e8 100755 --- a/activity.py +++ b/activity.py @@ -29,9 +29,10 @@ class PlayGo(Activity): 2. create an empty abstract board 3. create the graphic objects, boardWidget, buddyPanel, InfoPanel 4. group them in layout containers - 5. open a channel to the presence server - 6.1 if creating the game, make me the only player and go into local play mode - 6.2 if connecting to a neighborhood game, call the activity connection methods + 5. create an ActivityToolBox + 6. open a channel to the presence server + 7.1 if creating the game, make me the only player and go into local play mode + 7.2 if connecting to a neighborhood game, call the activity connection methods """ def __init__(self, handle): Activity.__init__(self, handle) @@ -131,7 +132,7 @@ class PlayGo(Activity): self.game.key_press_event(widget, event) def _shared_cb(self, activity): - logger.debug('My Connect activity was shared') + logger.debug('My PlayGo activity was shared') self.shared = True self.initiating = True self._setup() diff --git a/activity/activity-go.svg b/activity/activity-go.svg index c40cafa..4348e85 100644 --- a/activity/activity-go.svg +++ b/activity/activity-go.svg @@ -4,7 +4,7 @@ <!ENTITY ns_svg "http://www.w3.org/2000/svg"> <!ENTITY ns_xlink " http://www.w3.org/1999/xlink"> <!ENTITY stroke_color "#000000"> - <!ENTITY fill_color "#AAAAAA"> + <!ENTITY fill_color "#FFFFFF"> ]> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" @@ -68,7 +68,7 @@ <path d="M 26.475,9.535 C 26.475,11.967 24.504,13.94 22.072,13.941 C 19.639,13.942 17.667,11.971 17.665,9.539 C 17.665,9.538 17.665,9.536 17.665,9.535 C 17.664,7.102 19.635,5.13 22.067,5.128 C 24.5,5.127 26.472,7.098 26.474,9.53 C 26.475,9.532 26.475,9.534 26.475,9.535 z " id="path3134" - style="fill:&fill_color;stroke:&stroke_color;stroke-width:2.25;stroke-linejoin:bevel" /> + style="fill:&fill_color;stroke:&fill_color;stroke-width:2.25;stroke-linejoin:bevel" /> <path d="M 38.832,9.535 C 38.832,11.967 36.861,13.94 34.43,13.941 C 31.996,13.942 30.024,11.971 30.022,9.539 C 30.022,9.538 30.022,9.536 30.022,9.535 C 30.022,7.102 31.993,5.13 34.424,5.128 C 36.858,5.127 38.83,7.098 38.832,9.53 C 38.832,9.532 38.832,9.534 38.832,9.535 z " id="path3136" @@ -97,7 +97,7 @@ <path d="M 38.832,34.248 C 38.832,36.68 36.861,38.652 34.43,38.654 C 31.996,38.655 30.024,36.684 30.022,34.252 C 30.022,34.25 30.022,34.249 30.022,34.248 C 30.022,31.815 31.993,29.843 34.424,29.842 C 36.858,29.84 38.83,31.811 38.832,34.244 C 38.832,34.245 38.832,34.246 38.832,34.248 z " id="path3152" - style="fill:&fill_color;stroke:&stroke_color;stroke-width:2.25;stroke-linejoin:bevel" /> + style="fill:&fill_color;stroke:&fill_color;stroke-width:2.25;stroke-linejoin:bevel" /> <path d="M 38.832,46.604 C 38.832,49.038 36.861,51.01 34.43,51.011 C 31.996,51.012 30.024,49.041 30.022,46.609 C 30.022,46.608 30.022,46.606 30.022,46.604 C 30.022,44.172 31.993,42.2 34.424,42.198 C 36.858,42.198 38.83,44.169 38.832,46.6 C 38.832,46.602 38.832,46.603 38.832,46.604 z " id="path3154" diff --git a/infopanel.py b/infopanel.py index e608889..8bb3718 100755 --- a/infopanel.py +++ b/infopanel.py @@ -12,7 +12,7 @@ class InfoPanel(hippo.CanvasBox): def show(self, text): textwidget = hippo.CanvasText(text=text, - font_desc=pango.FontDescription('Sans 16'), + font_desc=pango.FontDescription('Sans 10'), color=style.COLOR_WHITE.get_int(), xalign=hippo.ALIGNMENT_CENTER) self.status_box.remove_all() |