summaryrefslogtreecommitdiffstats
path: root/iw/package_gui.py
blob: 59bdbb89950637c550e36b0eabe147c2ab48bb29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# package_gui.py: package group selection screen
#
# Jeremy Katz <katzj@redhat.com>
#
# Copyright 2005 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# general public license.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

# FIXME: group selection isn't currently backend independent
from pirut.GroupSelector import GroupSelector

import gui
from iw_gui import *
from rhpl.translate import _, N_

class GroupSelectionWindow (InstallWindow):
    def getScreen(self, anaconda):
        self.backend = anaconda.backend
        self.intf = anaconda.intf
        self.grpsel = GroupSelector(self.backend.ayum, gui.findGladeFile,
                                    gui.addFrame)
        self.grpsel.doRefresh()
        return self.grpsel.vbox