From 071cc596c598ee7668b33b16a6485839ac25a60e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 10 Jul 2007 15:18:08 +0200 Subject: [PATCH] Rename close to stop and save to keep --- NEWS | 3 +++ sugar/activity/activity.py | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index c2e554ac..0b510eda 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +* #2018 Rename Save to Keep. (marco) +* #2020 Rename Close to Stop. (marco) + Snapshot 42f0bcc48d * Fix broken import which was preventing startup. (marco) diff --git a/sugar/activity/activity.py b/sugar/activity/activity.py index 8a971997..87eb4fc5 100644 --- a/sugar/activity/activity.py +++ b/sugar/activity/activity.py @@ -64,11 +64,11 @@ class ActivityToolbar(gtk.Toolbar): self.insert(separator, -1) separator.show() - self.save = ToolButton('document-save') - self.save.set_tooltip(_('Save')) - self.save.connect('clicked', self._save_clicked_cb) - self.insert(self.save, -1) - self.save.show() + self.keep = ToolButton('document-save') + self.keep.set_tooltip(_('Keep')) + self.keep.connect('clicked', self._keep_clicked_cb) + self.insert(self.keep, -1) + self.keep.show() self.share = ToolButton('stock-share-mesh') self.share.set_tooltip(_('Share')) @@ -83,21 +83,21 @@ class ActivityToolbar(gtk.Toolbar): self.insert(separator, -1) separator.show() - self.close = ToolButton('window-close') - self.close.set_tooltip(_('Close')) - self.close.connect('clicked', self._close_clicked_cb) - self.insert(self.close, -1) - self.close.show() + self.stop = ToolButton('window-close') + self.stop.set_tooltip(_('Stop')) + self.stop.connect('clicked', self._stop_clicked_cb) + self.insert(self.stop, -1) + self.stop.show() self._update_title_sid = None def _share_clicked_cb(self, button): self._activity.share() - def _save_clicked_cb(self, button): + def _keep_clicked_cb(self, button): self._activity.save() - def _close_clicked_cb(self, button): + def _stop_clicked_cb(self, button): self._activity.close() self._activity.destroy()