Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/XOEditorActivity.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-04-04 14:59:31 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-04-04 14:59:31 (GMT)
commit8d5c802377ee7cb5d9041f272bb2efc33d405dce (patch)
tree25e8027a95504b19340931132e286a7bd77bbacf /XOEditorActivity.py
parent51f3580c314de10ffeab81213fe82fedb15cd9e6 (diff)
new artwork; remove unnecessary button
Diffstat (limited to 'XOEditorActivity.py')
-rw-r--r--XOEditorActivity.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/XOEditorActivity.py b/XOEditorActivity.py
index ac17622..8322049 100644
--- a/XOEditorActivity.py
+++ b/XOEditorActivity.py
@@ -96,15 +96,17 @@ class XOEditorActivity(activity.Activity):
toolbox.set_current_toolbar(1)
self.toolbar = games_toolbar
+ '''
_rotate_button = button_factory(
'view-refresh', self.toolbar, self._rotate_cb,
tooltip=_('Rotate colors'))
+ '''
if _have_toolbox:
separator_factory(toolbox.toolbar, True, False)
self._save_colors_button = button_factory(
- 'document-save', self.toolbar, self._save_colors_cb,
+ 'save-colors', self.toolbar, self._save_colors_cb,
tooltip=_('Save colors'))
if _have_toolbox:
@@ -115,7 +117,7 @@ class XOEditorActivity(activity.Activity):
def _save_colors_cb(self, button=None):
''' Save the new XO colors. '''
- ''' We warn the user if the plugin was previously loaded '''
+ ''' We warn the user if they are going to save their selection '''
alert = ConfirmationAlert()
alert.props.title = _('Saving colors')
alert.props.msg = _('Do you want to save these colors?')
@@ -140,7 +142,7 @@ class XOEditorActivity(activity.Activity):
self._game.colors[0], self._game.colors[1]))
alert = NotifyAlert()
alert.props.title = _('Saving colors')
- alert.props.msg = _('Restart required before new colors will appear.')
+ alert.props.msg = _('A restart is required before your new colors will appear.')
def _notification_alert_response_cb(alert, response_id, self):
self.remove_alert(alert)