|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/firstboot/modules/ |
Upload File : |
from gtk import *
import string
import gtk
import gobject
import sys
import functions
##
## I18N
##
from rhpl.translate import _, N_
from rhpl import translate
translate.textdomain("firstboot")
class childWindow:
#You must specify a runPriority for the order in which you wish your module to run
runPriority = 10
moduleName = (_("Welcome"))
def launch(self, doDebug = None):
if doDebug:
print "initializing welcome module"
self.vbox = gtk.VBox()
self.vbox.set_size_request(400, 200)
msg = (_("Welcome"))
title_pix = functions.imageFromFile("workstation.png")
internalVBox = gtk.VBox()
internalVBox.set_border_width(10)
label = gtk.Label(_("There are a few more steps to "
"take before your system is ready to use. The Setup Agent "
"will now guide you through some basic configuration. Please click the "
"\"Forward\" button in the lower right corner to continue."))
label.set_line_wrap(True)
label.set_alignment(0.0, 0.5)
label.set_size_request(500, -1)
internalVBox.pack_start(label, False, True)
self.vbox.pack_start(internalVBox, False, 5)
pix = functions.ditheredImageFromFile("splash-small.png")
self.vbox.pack_start(pix, True, True, 5)
return self.vbox, title_pix, msg
def apply(self, notebook):
return 0