Magellan Linux

Contents of /trunk/installer/gtk-gui/common.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 763 - (show annotations) (download) (as text)
Mon Sep 22 22:04:16 2008 UTC (15 years, 7 months ago) by niro
File MIME type: application/x-sh
File size: 1383 byte(s)
-typo

1 # $Header: /home/cvsd/magellan-cvs/magellan-src/installer/gtk-gui/common.sh,v 1.2 2008-09-22 22:04:16 niro Exp $
2
3 export WELCOME='
4 <window title="Welcome" icon-name="gtk-info" window_position="1" resizable="false">
5 <vbox>
6 <pixmap>
7 <input file>header.png</input>
8 </pixmap>
9 <text use-markup="true">
10 <label>
11 "
12
13
14 <big>Welcome to Magellan-Linux.</big>
15
16
17 "
18 </label>
19 </text>
20 <hbox>
21 <button>
22 <label>next</label>
23 <variable>NEXT</variable>
24 <input file stock="gtk-go-forward"></input>
25 </button>
26 </hbox>
27 </vbox>
28 </window>
29 '
30
31 # needs variable FAILURE_MESSAGE
32 export FAILURE_DIALOG='
33 <window title="Failure!" icon-name="gtk-dialog-error" window_position="1" resizable="false">
34 <vbox>
35 <hbox>
36 <pixmap>
37 <input file stock="gtk-dialog-error"></input>
38 </pixmap>
39 <text>
40 <input>echo -e "\n${FAILURE_MESSAGE}"</input>
41 </text>
42 </hbox>
43 <hbox homogeneous="true">
44 <button ok>
45 </button>
46 </hbox>
47 </vbox>
48 </window>
49 '
50
51 # needs variable WARNING_MESSAGE
52 export WARNING_DIALOG='
53 <window title="Warning!" icon-name="gtk-dialog-warning" window_position="1" resizable="false">
54 <vbox>
55 <hbox>
56 <pixmap>
57 <input file stock="gtk-dialog-warning"></input>
58 </pixmap>
59 <text>
60 <input>echo -e "\n${WARNING_MESSAGE}"</input>
61 </text>
62 </hbox>
63 <hbox homogeneous="true">
64 <button ok>
65 </button>
66 </hbox>
67 </vbox>
68 </window>
69 '