Hi, I have this two patches around for a while, contacted the maintainer Joe but he doesn't seem active. I will be happy to get co maintainership of this activity.
A new release with this changes will be good, and there where a lot of translations added in the po files. Regards, -- .. manuq ..
From 4775bacd5d4e9df362752595f83ea2fded31dcaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <ma...@laptop.org> Date: Wed, 22 Feb 2012 18:42:59 -0300 Subject: [PATCH 1/2] Remove expanded separators MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is to make all toolbars consistent, as discussed in Design Meeting and reviewed in 2011-09-26 . Signed-off-by: Manuel Quiñones <ma...@laptop.org> --- implodeactivity.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/implodeactivity.py b/implodeactivity.py index 34f5677..e989057 100644 --- a/implodeactivity.py +++ b/implodeactivity.py @@ -161,8 +161,6 @@ class ImplodeActivity(Activity): toolbar_box.toolbar.insert(activity_button, 0) activity_button.show() - self._add_expander(toolbar_box.toolbar) - toolbar.add(gtk.SeparatorToolItem()) def add_button(icon_name, tooltip, func): @@ -229,12 +227,12 @@ class ImplodeActivity(Activity): self.set_toolbar_box(toolbar_box) toolbar_box.show() - def _add_expander(self, toolbar): + def _add_expander(self, toolbar, expand=True): """Insert a toolbar item which will expand to fill the available space.""" separator = gtk.SeparatorToolItem() separator.props.draw = False - separator.set_expand(True) + separator.set_expand(expand) toolbar.insert(separator, -1) separator.show() -- 1.7.7.6
From 432be523d4eaded0f4b0ed70d07d9825ca1d5528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <ma...@laptop.org> Date: Wed, 22 Feb 2012 18:46:37 -0300 Subject: [PATCH 2/2] Set max_participants to 1 because activity is not sharing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Quiñones <ma...@laptop.org> --- implodeactivity.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/implodeactivity.py b/implodeactivity.py index e989057..58e7f18 100644 --- a/implodeactivity.py +++ b/implodeactivity.py @@ -59,6 +59,8 @@ class ImplodeActivity(Activity): _logger.debug('Starting implode activity...') + self.max_participants = 1 + self._game = ImplodeGame() game_box = gtk.VBox() -- 1.7.7.6
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel