[sugar] [PATCH] Color keep icon (#3939)
Tomeu Vizoso
tomeu
Fri Jun 27 06:45:43 EDT 2008
r+
Eben Eliason wrote:
> Pretty straightforward.
>
> ---
> src/sugar/activity/activity.py | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/src/sugar/activity/activity.py b/src/sugar/activity/activity.py
> index 43d75ed..3c35de5 100644
> --- a/src/sugar/activity/activity.py
> +++ b/src/sugar/activity/activity.py
> @@ -127,7 +127,11 @@ class ActivityToolbar(gtk.Toolbar):
>
> 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.connect('clicked', self.__keep_clicked_cb)
> self.insert(self.keep, -1)
> --
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
More information about the Sugar-devel
mailing list