[sugar] [PATCH 5/6] Scroll to the button that is selected in the tabbing operation.
Benjamin Berg
benjamin at sipsolutions.net
Thu Jun 19 15:11:00 EDT 2008
---
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:
More information about the Sugar
mailing list