Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1007 - (show annotations) (download) (as text)
Sun May 30 17:31:51 2010 UTC (13 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 1740 byte(s)
-fixed header
1 # $Id$
2
3 export WELCOME='
4 <window title="Welcome" icon-name="gtk-info" window_position="1" resizable="false">
5 <vbox>
6 <pixmap>
7 <input file>data/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 '
70 export FINISH='
71 <window title="Welcome" icon-name="gtk-info" window_position="1" resizable="false">
72 <vbox>
73 <pixmap>
74 <input file>data/header.png</input>
75 </pixmap>
76 <text use-markup="true">
77 <label>
78 "
79
80
81 <big>Installation successfully finished.</big>
82
83
84 "
85 </label>
86 </text>
87 <hbox>
88 <button>
89 <label>reboot</label>
90 <variable>NEXT</variable>
91 <input file stock="gtk-go-forward"></input>
92 </button>
93 </hbox>
94 </vbox>
95 </window>
96 '