summaryrefslogtreecommitdiffstats
path: root/iw/welcome.py
diff options
context:
space:
mode:
authorpnfisher <pnfisher>1999-07-28 16:23:57 +0000
committerpnfisher <pnfisher>1999-07-28 16:23:57 +0000
commit6597944cbd98c82f954f9f0f6dcf9e37e8f17ffc (patch)
treefaf713e4d3ea4c474dd2597a7269c4e9d722048e /iw/welcome.py
parent0bd9ae6eef267f14d1c2a51c95ecac67f7d60d5c (diff)
downloadanaconda-6597944cbd98c82f954f9f0f6dcf9e37e8f17ffc.tar.gz
anaconda-6597944cbd98c82f954f9f0f6dcf9e37e8f17ffc.tar.xz
anaconda-6597944cbd98c82f954f9f0f6dcf9e37e8f17ffc.zip
initial checkin
Diffstat (limited to 'iw/welcome.py')
-rw-r--r--iw/welcome.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/iw/welcome.py b/iw/welcome.py
new file mode 100644
index 000000000..f8a1120e0
--- /dev/null
+++ b/iw/welcome.py
@@ -0,0 +1,38 @@
+from gtk import *
+from iw import *
+
+class WelcomeWindow (InstallWindow):
+
+ def __init__ (self, ics):
+ InstallWindow.__init__ (self, ics)
+
+ ics.setTitle ("Welcome to Red Hat Linux!")
+ ics.setPrevEnabled (0)
+ ics.setNextEnabled (1)
+ ics.setHTML("<HTML><BODY><CENTER><H2>Welcome to<br>Red Hat Linux!</H2></CENTER>"
+ ""
+ "<P>This installation process is outlined in detail in the "
+ "Official Red Hat Linux Installation Guide available from "
+ "Red Hat Software. If you have access to this manual, you "
+ "should read the installation section before continuing.</P><P>"
+ "If you have purchased Official Red Hat Linux, be sure to "
+ "register your purchase through our web site, "
+ "http://www.redhat.com/.</P></BODY></HTML>")
+
+ def getScreen (self):
+ label = GtkLabel("(insert neat logo graphic here)")
+ label.set_line_wrap (TRUE)
+
+ box = GtkVBox (FALSE, 10)
+ box.pack_start (label, TRUE, TRUE, 0)
+
+ try:
+ im = GdkImlib.Image ("shadowman-200.png")
+ im.render ()
+ pix = im.make_pixmap ()
+ box.pack_start (pix, TRUE, TRUE, 0)
+
+ except:
+ print "Unable to load shadowman-200.png"
+
+ return box