Translate the default activity toolbar
This commit is contained in:
parent
51c66de817
commit
03ef9c034e
@ -5,5 +5,6 @@ shell/view/frame/ZoomBox.py
|
|||||||
services/clipboard/objecttypeservice.py
|
services/clipboard/objecttypeservice.py
|
||||||
shell/view/Shell.py
|
shell/view/Shell.py
|
||||||
shell/view/clipboardicon.py
|
shell/view/clipboardicon.py
|
||||||
|
shell/view/home/HomeBox.py
|
||||||
shell/view/home/MeshBox.py
|
shell/view/home/MeshBox.py
|
||||||
sugar/activity/activity.py
|
sugar/activity/activity.py
|
||||||
|
@ -64,11 +64,13 @@ class ActivityToolbar(gtk.Toolbar):
|
|||||||
separator.show()
|
separator.show()
|
||||||
|
|
||||||
self.save = ToolButton('document-save')
|
self.save = ToolButton('document-save')
|
||||||
|
self.save.set_tooltip(_('Save'))
|
||||||
self.save.connect('clicked', self._save_clicked_cb)
|
self.save.connect('clicked', self._save_clicked_cb)
|
||||||
self.insert(self.save, -1)
|
self.insert(self.save, -1)
|
||||||
self.save.show()
|
self.save.show()
|
||||||
|
|
||||||
self.share = ToolButton('stock-share-mesh')
|
self.share = ToolButton('stock-share-mesh')
|
||||||
|
self.share.set_tooltip(_('Share'))
|
||||||
self.share.connect('clicked', self._share_clicked_cb)
|
self.share.connect('clicked', self._share_clicked_cb)
|
||||||
self.insert(self.share, -1)
|
self.insert(self.share, -1)
|
||||||
if activity.get_shared():
|
if activity.get_shared():
|
||||||
@ -81,6 +83,7 @@ class ActivityToolbar(gtk.Toolbar):
|
|||||||
separator.show()
|
separator.show()
|
||||||
|
|
||||||
self.close = ToolButton('window-close')
|
self.close = ToolButton('window-close')
|
||||||
|
self.close.set_tooltip(_('Close'))
|
||||||
self.close.connect('clicked', self._close_clicked_cb)
|
self.close.connect('clicked', self._close_clicked_cb)
|
||||||
self.insert(self.close, -1)
|
self.insert(self.close, -1)
|
||||||
self.close.show()
|
self.close.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user