summaryrefslogtreecommitdiffstats
path: root/iw/welcome.py
blob: bbca1ce559b440e37d1a4f01e13d0862a698ca31 (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
from gtk import *
from iw import *
from gui import _

class WelcomeWindow (InstallWindow):		

    def __init__ (self, ics):
	InstallWindow.__init__ (self, ics)

        ics.setTitle (_("Welcome"))
        ics.setNextEnabled (1)
        ics.readHTML ("wel")
        self.ics = ics

    def getScreen (self):
        frame = GtkFrame ()
        frame.set_shadow_type (SHADOW_IN)
        im = self.ics.readPixmap ("splash.png")
        
        if im:
            im.render ()
            pix = im.make_pixmap ()
            frame.add (pix)

        return frame