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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1807 - (show annotations) (download) (as text)
Sun Mar 18 19:54:31 2007 UTC (8 years, 2 months ago) by agaffney
File MIME type: text/x-python
File size: 1241 byte(s)
bypass exit button checks if install finished/failed
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 from GLIScreen import *
8
9 class Panel(GLIScreen):
10
11 _helptext = """
12 <b><u>Install Failed</u></b>
13
14 Your install has failed for one of numerous reasons. You can find the error in \
15 the logfile at /tmp/install.log.failed. Once you determine that the error was \
16 not caused by you, please file a bug at http://bugs.gentoo.org/ in the \
17 Gentoo Hosted Projects/Installer component.
18 """
19
20 def __init__(self, controller):
21 GLIScreen.__init__(self, controller)
22 vert = gtk.VBox(False, 0)
23 vert.set_border_width(10)
24
25 self.controller.install_done = True
26
27 hbox = gtk.HBox(False, 0)
28 label = gtk.Label()
29 label_markup = '<b>Your install has failed.</b>'
30 label.set_markup(label_markup)
31 label.set_line_wrap(True)
32 hbox.pack_start(label, expand=False, fill=False, padding=5)
33 vert.pack_start(hbox, expand=False, fill=False, padding=10)
34
35 self.add_content(vert)
36
37 def activate(self):
38 self.controller.SHOW_BUTTON_BACK = False
39 self.controller.SHOW_BUTTON_FORWARD = False

Properties

Name Value
svn:keywords Id

  ViewVC Help
Powered by ViewVC 1.1.20