summaryrefslogtreecommitdiffstats
path: root/iw/package_gui.py
blob: 800d8568e926a9b0b7409a77f2e0bca620d276d0 (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 GroupSelector import GroupSelector

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

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