summaryrefslogtreecommitdiffstats
path: root/iw/GroupSelector.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-01-09 20:34:21 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-01-09 20:34:21 +0000
commitb3cff3588769dc89816cf3342f1ede618e91738b (patch)
tree476a51e0252c32bfb62e784a406194afa0c9af6e /iw/GroupSelector.py
parent820a1ae054aba74679238ef06ba19be5a0406cbe (diff)
downloadanaconda-b3cff3588769dc89816cf3342f1ede618e91738b.tar.gz
anaconda-b3cff3588769dc89816cf3342f1ede618e91738b.tar.xz
anaconda-b3cff3588769dc89816cf3342f1ede618e91738b.zip
* iw/GroupSelector.py (GroupSelector._categorySelected): Scroll
the group list to the top each time a category is selected.
Diffstat (limited to 'iw/GroupSelector.py')
-rw-r--r--iw/GroupSelector.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/GroupSelector.py b/iw/GroupSelector.py
index 3f88bf81b..1e4e31bc2 100644
--- a/iw/GroupSelector.py
+++ b/iw/GroupSelector.py
@@ -292,6 +292,8 @@ class GroupSelector:
pix = None
self.groupstore.append(None,
[self.ayum.isGroupInstalled(grp),s,grp,pix])
+ tree = self.xml.get_widget("groupList")
+ tree.scroll_to_point(0, 0)
def _groupSelected(self, selection):
(model, i) = selection.get_selected()