summaryrefslogtreecommitdiffstats
path: root/iw/welcome.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-13 05:34:27 +0000
committerMatt Wilson <msw@redhat.com>1999-09-13 05:34:27 +0000
commit4e6349432b9becf9cddd60a9bbe37efffb67fc12 (patch)
treee015de17af22dfd957aab73792818315ac7b9fe2 /iw/welcome.py
parent19c59d8a6e69dff0bb1405258f22c767280edb13 (diff)
downloadanaconda-4e6349432b9becf9cddd60a9bbe37efffb67fc12.tar.gz
anaconda-4e6349432b9becf9cddd60a9bbe37efffb67fc12.tar.xz
anaconda-4e6349432b9becf9cddd60a9bbe37efffb67fc12.zip
many gui enhancements
Diffstat (limited to 'iw/welcome.py')
-rw-r--r--iw/welcome.py21
1 files changed, 8 insertions, 13 deletions
diff --git a/iw/welcome.py b/iw/welcome.py
index 59baca422..bbad8e1ca 100644
--- a/iw/welcome.py
+++ b/iw/welcome.py
@@ -1,31 +1,26 @@
from gtk import *
from iw import *
from gui import _
-import GdkImlib
class WelcomeWindow (InstallWindow):
def __init__ (self, ics):
InstallWindow.__init__ (self, ics)
- ics.setTitle (_("Welcome to Red Hat Linux!"))
+ ics.setTitle ("Welcome ")
ics.setNextEnabled (1)
ics.readHTML ("wel")
+ self.ics = ics
def getScreen (self):
- box = GtkVBox (FALSE, 10)
- im = None
- try:
- im = GdkImlib.Image ("/usr/share/anaconda/pixmaps/splash.png")
- except:
- try:
- im = GdkImlib.Image ("pixmaps/splash.png")
- except:
- print "Unable to load splash.png"
+ frame = GtkFrame ()
+ frame.set_shadow_type (SHADOW_IN)
+ im = self.ics.readPixmap ("splash.png")
+
if im:
im.render ()
pix = im.make_pixmap ()
- box.pack_start (pix, TRUE, TRUE, 0)
+ frame.add (pix)
- return box
+ return frame