Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--XOEditorActivity.py7
-rw-r--r--activity/activity.info2
3 files changed, 12 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 1a641db..ca59473 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,10 @@
NEWS
+10
+
+BUG FIX:
+* add missing import
+* properly align toolbar buttons
+
9
* New translations
diff --git a/XOEditorActivity.py b/XOEditorActivity.py
index 11dc180..9cc33b9 100644
--- a/XOEditorActivity.py
+++ b/XOEditorActivity.py
@@ -11,6 +11,7 @@
# Foundation, 51 Franklin Street, Suite 500 Boston, MA 02110-1335 USA
from gi.repository import Gtk, Gdk, GConf
+import dbus
from sugar3.activity import activity
from sugar3 import profile
@@ -37,6 +38,8 @@ from game import Game
import logging
_logger = logging.getLogger('xo-editor-activity')
+
+
class XOEditorActivity(activity.Activity):
""" Change the XO colors """
@@ -147,12 +150,12 @@ class XOEditorActivity(activity.Activity):
toolbox.set_current_toolbar(1)
self.toolbar = games_toolbar
- if _have_toolbox:
- separator_factory(toolbox.toolbar, True, False)
self._save_colors_button = button_factory(
'save-colors', self.toolbar, self._save_colors_cb,
tooltip=_('Save colors'))
+
if _have_toolbox:
+ separator_factory(toolbox.toolbar, True, False)
stop_button = StopButton(self)
stop_button.props.accelerator = '<Ctrl>q'
toolbox.toolbar.insert(stop_button, -1)
diff --git a/activity/activity.info b/activity/activity.info
index 509b395..d0634b3 100644
--- a/activity/activity.info
+++ b/activity/activity.info
@@ -3,7 +3,7 @@ name = xoEditor
exec = sugar-activity XOEditorActivity.XOEditorActivity
bundle_id = org.laptop.xoEditorActivity
icon = activity-xo-editor
-activity_version = 9
+activity_version = 10
show_launcher = yes
license = GPLv3
summary = select colors for your XO icon