/[gli]/branches/overhaul/src/fe/gtk/Template.py
Gentoo

Contents of /branches/overhaul/src/fe/gtk/Template.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1623 - (show annotations) (download) (as text)
Fri Jan 19 10:19:38 2007 UTC (8 years, 2 months ago) by agaffney
File MIME type: text/x-python
File size: 1638 byte(s)
remove Help button
rearrange Stage screen
1 # Copyright 1999-2005 Gentoo Foundation
2 # This source code is distributed under the terms of version 2 of the GNU
3 # General Public License as published by the Free Software Foundation, a copy
4 # of which can be found in the main directory of this project.
5
6 import gtk
7 import GLIScreen
8 from gettext import gettext as _
9
10 class Panel(GLIScreen.GLIScreen):
11
12 title = "Welcome to the Gentoo Linux Installer"
13
14 def __init__(self, controller):
15 GLIScreen.GLIScreen.__init__(self, controller)
16 vert = gtk.VBox(False, 0)
17 vert.set_border_width(10)
18
19 content_str = """
20 Welcome to The Gentoo Linux Installer. This is a TESTING release.
21 If your system dies a horrible, horrible death, don't come crying
22 to us (okay, you can cry to klieber).
23
24 In this part of the installer, you will make all of your decisions
25 for how you want your system setup. No changes will be made to your
26 system until you click the "Install" button. At any point before you
27 click "Install", you can click "Save" to save your install profile
28 and come back at a later time to finish.
29
30 If you have installed Gentoo Linux previously using this installer
31 and you saved your configuration settings, you can click the "Load"
32 button to load your previous settings as defaults.
33 """
34
35 content_label = gtk.Label(content_str)
36 vert.pack_start(content_label, expand=False, fill=False, padding=0)
37
38 self.add_content(vert)
39
40 def activate(self):
41 self.controller.SHOW_BUTTON_EXIT = True
42 # self.controller.SHOW_BUTTON_HELP = True
43 self.controller.SHOW_BUTTON_BACK = False
44 self.controller.SHOW_BUTTON_FORWARD = True
45 self.controller.SHOW_BUTTON_FINISH = False

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.20