Rename close to stop and save to keep

This commit is contained in:
Marco Pesenti Gritti 2007-07-10 15:18:08 +02:00
parent 4685e2f8dd
commit 071cc596c5
2 changed files with 15 additions and 12 deletions

3
NEWS
View File

@ -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)

View File

@ -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()