[sugar] [PATCH 5/6] Scroll to the button that is selected in the tabbing operation.

Marco Pesenti Gritti mpgritti at gmail.com
Fri Jun 20 05:06:41 EDT 2008


r+

On Thu, Jun 19, 2008 at 9:11 PM, Benjamin Berg
<benjamin at sipsolutions.net> wrote:
>
> ---
>
>  src/view/frame/activitiestray.py |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/view/frame/activitiestray.py b/src/view/frame/activitiestray.py
> index 03a523e..c34c119 100644
> --- a/src/view/frame/activitiestray.py
> +++ b/src/view/frame/activitiestray.py
> @@ -342,6 +342,8 @@ class ActivitiesTray(HTray):
>         self._freeze_button_clicks = True
>         button.props.active = True
>         self._freeze_button_clicks = True
> +
> +        self.scroll_to_item(button)
>
>     def __activity_clicked_cb(self, button, home_activity):
>         if not self._freeze_button_clicks and button.props.active:
>
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>


More information about the Sugar mailing list