[Sugar-devel] [PATCH chat] Remove the KeepButton due to deprecation

Gonzalo Odiard gonzalo at laptop.org
Thu Jul 28 08:56:35 EDT 2011


Reviewed-by: Gonzalo Odiard <gonzalo at laptop.org>

On Wed, Jul 27, 2011 at 12:02 PM, Simon Schampijer <simon at schampijer.de>wrote:

> From: Simon Schampijer <simon at laptop.org>
>
> ---
>  activity.py |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/activity.py b/activity.py
> index 58c6d8e..05b7558 100644
> --- a/activity.py
> +++ b/activity.py
> @@ -35,7 +35,7 @@ from sugar.graphics.palette import Palette
>  from sugar.graphics.toolbarbox import ToolbarBox
>  from sugar.activity import activity
>  from sugar.presence import presenceservice
> -from sugar.activity.widgets import ActivityButton, TitleEntry, KeepButton
> +from sugar.activity.widgets import ActivityButton, TitleEntry
>  from sugar.activity.widgets import StopButton, ShareButton,
> RadioMenuButton
>
>  from chat import smilies
> @@ -69,7 +69,6 @@ class Chat(activity.Activity):
>
>         share_button = ShareButton(self)
>         toolbar_box.toolbar.insert(share_button, -1)
> -        toolbar_box.toolbar.insert(KeepButton(self), -1)
>
>         separator = gtk.SeparatorToolItem()
>         toolbar_box.toolbar.insert(separator, -1)
> --
> 1.7.4.4
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110728/334b6c44/attachment.html>


More information about the Sugar-devel mailing list