Color the keep icon (#3939)

This commit is contained in:
Eben Eliason 2008-06-25 13:40:37 -04:00
parent cbcc5c2a92
commit 9dd0c93c69

View File

@ -127,7 +127,11 @@ class ActivityToolbar(gtk.Toolbar):
self._update_share() self._update_share()
self.keep = ToolButton('document-save', tooltip=_('Keep')) self.keep = ToolButton(tooltip=_('Keep'))
keep_icon = Icon(icon_name='document-save',
xo_color=profile.get_color())
self.keep.set_icon_widget(keep_icon)
keep_icon.show()
self.keep.props.accelerator = '<Ctrl>S' self.keep.props.accelerator = '<Ctrl>S'
self.keep.connect('clicked', self.__keep_clicked_cb) self.keep.connect('clicked', self.__keep_clicked_cb)
self.insert(self.keep, -1) self.insert(self.keep, -1)