aboutsummaryrefslogtreecommitdiff
blob: 2f656b8bc47224e7e3a98bde243f8d512941b301 (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
# 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
from GLIScreen import *

class Panel(GLIScreen):

	_helptext = """
<b><u>Install Complete!</u></b>

Your install has finished. Click the Exit button, restart your computer, \
and enjoy!
"""

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

		self.controller.install_done = True

		hbox = gtk.HBox(False, 0)
		label = gtk.Label()
		label_markup = '<b>Your install is complete!</b>'
		label.set_markup(label_markup)
		label.set_line_wrap(True)
		hbox.pack_start(label, expand=False, fill=False, padding=5)
		vert.pack_start(hbox, expand=False, fill=False, padding=10)

		self.add_content(vert)

	def activate(self):
		self.controller.SHOW_BUTTON_BACK    = False
		self.controller.SHOW_BUTTON_FORWARD = False