aboutsummaryrefslogtreecommitdiff
blob: 3cbd535a446e35c2a5e2483edaecb76817a6993f (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2005 Gentoo Foundation
# This source code is distributed under the terms of version 2 of the GNU
# General Public License as published by the Free Software Foundation, a copy
# of which can be found in the main directory of this project.

import gtk
import GLIScreen
from gettext import gettext as _

class Panel(GLIScreen.GLIScreen):

	title = "Welcome to the Gentoo Linux Installer"

	def __init__(self, controller):
		GLIScreen.GLIScreen.__init__(self, controller)
		vert = gtk.VBox(False, 0)
		vert.set_border_width(10)

		content_str = """
Welcome to The Gentoo Linux Installer. This is a TESTING release.
If your system dies a horrible, horrible death, don't come crying
to us (okay, you can cry to klieber).

In this part of the installer, you will make all of your decisions
for how you want your system setup. No changes will be made to your
system until you click the "Install" button. At any point before you
click "Install", you can click "Save" to save your install profile
and come back at a later time to finish.

If you have installed Gentoo Linux previously using this installer
and you saved your configuration settings, you can click the "Load"
button to load your previous settings as defaults.
"""
 	
		content_label = gtk.Label(content_str)
		vert.pack_start(content_label, expand=False, fill=False, padding=0)            

		self.add_content(vert)

	def activate(self):
		self.controller.SHOW_BUTTON_EXIT    = True
		self.controller.SHOW_BUTTON_HELP    = True
		self.controller.SHOW_BUTTON_BACK    = False
		self.controller.SHOW_BUTTON_FORWARD = True
		self.controller.SHOW_BUTTON_FINISH  = False