Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 771 - (hide annotations) (download) (as text)
Wed Sep 24 10:17:27 2008 UTC (15 years, 7 months ago) by niro
File MIME type: application/x-sh
File size: 1836 byte(s)
-show a finish-dialog

1 niro 771 # $Header: /home/cvsd/magellan-cvs/magellan-src/installer/gtk-gui/common.sh,v 1.3 2008-09-24 10:17:27 niro Exp $
2 niro 719
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 niro 763 <big>Welcome to Magellan-Linux.</big>
15 niro 719
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 niro 771 export FINISH='
71     <window title="Welcome" icon-name="gtk-info" window_position="1" resizable="false">
72     <vbox>
73     <pixmap>
74     <input file>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     '