e37e9e8175d64b0b176c3e1598268fc68d958296
[udpgate.git] / src / ui-gnome.glade
1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2 <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
3
4 <glade-interface>
5 <requires lib="gnome"/>
6 <requires lib="bonobo"/>
7
8 <widget class="GnomeApp" id="App">
9   <property name="visible">True</property>
10   <property name="title" translatable="yes">UDP Gateway</property>
11   <property name="type">GTK_WINDOW_TOPLEVEL</property>
12   <property name="window_position">GTK_WIN_POS_NONE</property>
13   <property name="modal">False</property>
14   <property name="resizable">False</property>
15   <property name="destroy_with_parent">False</property>
16   <property name="enable_layout_config">False</property>
17   <signal name="destroy" handler="gtk_main_quit" last_modification_time="Sat, 06 Sep 2003 11:12:25 GMT"/>
18
19   <child internal-child="dock">
20     <widget class="BonoboDock" id="Bonobo">
21       <property name="visible">True</property>
22       <property name="allow_floating">False</property>
23
24       <child>
25         <widget class="GtkVBox" id="MainVBox">
26           <property name="border_width">15</property>
27           <property name="visible">True</property>
28           <property name="homogeneous">False</property>
29           <property name="spacing">5</property>
30
31           <child>
32             <widget class="GtkViewport" id="InfoViewport">
33               <property name="visible">True</property>
34               <property name="shadow_type">GTK_SHADOW_IN</property>
35
36               <child>
37                 <widget class="GtkTextView" id="InfoTextView">
38                   <property name="border_width">3</property>
39                   <property name="visible">True</property>
40                   <property name="can_focus">True</property>
41                   <property name="editable">False</property>
42                   <property name="justification">GTK_JUSTIFY_LEFT</property>
43                   <property name="wrap_mode">GTK_WRAP_WORD</property>
44                   <property name="cursor_visible">False</property>
45                   <property name="pixels_above_lines">0</property>
46                   <property name="pixels_below_lines">0</property>
47                   <property name="pixels_inside_wrap">0</property>
48                   <property name="left_margin">0</property>
49                   <property name="right_margin">0</property>
50                   <property name="indent">0</property>
51                   <property name="text" translatable="yes">Choose your port and try connection to the alternate MMS service center.
52 Some phone models support only the tandard port 9201.
53 Port 9201 is usually blocked by the GSM operator.
54 If you do not have &quot;static IP&quot; for your machine the &quot;IP address&quot; will change from time to time between your machine restarts.
55 Generally you cannot use this program in firewalled networks although try to ask your sysadmin for the specific &quot;port forward&quot;.
56 </property>
57                 </widget>
58               </child>
59             </widget>
60             <packing>
61               <property name="padding">0</property>
62               <property name="expand">True</property>
63               <property name="fill">True</property>
64             </packing>
65           </child>
66
67           <child>
68             <widget class="GtkTable" id="MainTable">
69               <property name="visible">True</property>
70               <property name="n_rows">3</property>
71               <property name="n_columns">2</property>
72               <property name="homogeneous">False</property>
73               <property name="row_spacing">5</property>
74               <property name="column_spacing">5</property>
75
76               <child>
77                 <widget class="GtkHBox" id="PortHBox">
78                   <property name="visible">True</property>
79                   <property name="homogeneous">False</property>
80                   <property name="spacing">0</property>
81
82                   <child>
83                     <widget class="GnomeEntry" id="PortGnomeEntry">
84                       <property name="visible">True</property>
85                       <property name="max_saved">10</property>
86
87                       <child internal-child="entry">
88                         <widget class="GtkEntry" id="PortEntry">
89                           <property name="visible">True</property>
90                           <property name="can_focus">True</property>
91                           <property name="editable">True</property>
92                           <property name="visibility">True</property>
93                           <property name="max_length">5</property>
94                           <property name="text" translatable="yes">9201</property>
95                           <property name="has_frame">True</property>
96                           <property name="invisible_char" translatable="yes">*</property>
97                           <property name="activates_default">False</property>
98                         </widget>
99                       </child>
100                     </widget>
101                     <packing>
102                       <property name="padding">0</property>
103                       <property name="expand">False</property>
104                       <property name="fill">False</property>
105                     </packing>
106                   </child>
107
108                   <child>
109                     <widget class="GtkButton" id="PortButtonRandom">
110                       <property name="visible">True</property>
111                       <property name="can_focus">True</property>
112                       <property name="label" translatable="yes">Try random one</property>
113                       <property name="use_underline">True</property>
114                       <property name="relief">GTK_RELIEF_NORMAL</property>
115                       <signal name="clicked" handler="on_PortButtonRandom_clicked" last_modification_time="Sun, 09 May 2004 16:50:55 GMT"/>
116                     </widget>
117                     <packing>
118                       <property name="padding">0</property>
119                       <property name="expand">False</property>
120                       <property name="fill">False</property>
121                     </packing>
122                   </child>
123                 </widget>
124                 <packing>
125                   <property name="left_attach">1</property>
126                   <property name="right_attach">2</property>
127                   <property name="top_attach">1</property>
128                   <property name="bottom_attach">2</property>
129                 </packing>
130               </child>
131
132               <child>
133                 <widget class="GtkLabel" id="PortLabel">
134                   <property name="visible">True</property>
135                   <property name="label" translatable="yes">Local UDP port (9201?)</property>
136                   <property name="use_underline">False</property>
137                   <property name="use_markup">False</property>
138                   <property name="justify">GTK_JUSTIFY_RIGHT</property>
139                   <property name="wrap">False</property>
140                   <property name="selectable">False</property>
141                   <property name="xalign">0.5</property>
142                   <property name="yalign">0.5</property>
143                   <property name="xpad">0</property>
144                   <property name="ypad">0</property>
145                 </widget>
146                 <packing>
147                   <property name="left_attach">0</property>
148                   <property name="right_attach">1</property>
149                   <property name="top_attach">1</property>
150                   <property name="bottom_attach">2</property>
151                   <property name="x_options">fill</property>
152                   <property name="y_options"></property>
153                 </packing>
154               </child>
155
156               <child>
157                 <widget class="GtkLabel" id="AutostartLabel">
158                   <property name="visible">True</property>
159                   <property name="label" translatable="yes">Start at boot automatically?</property>
160                   <property name="use_underline">False</property>
161                   <property name="use_markup">False</property>
162                   <property name="justify">GTK_JUSTIFY_LEFT</property>
163                   <property name="wrap">False</property>
164                   <property name="selectable">False</property>
165                   <property name="xalign">0</property>
166                   <property name="yalign">0.5</property>
167                   <property name="xpad">0</property>
168                   <property name="ypad">0</property>
169                 </widget>
170                 <packing>
171                   <property name="left_attach">0</property>
172                   <property name="right_attach">1</property>
173                   <property name="top_attach">2</property>
174                   <property name="bottom_attach">3</property>
175                   <property name="x_options">fill</property>
176                   <property name="y_options"></property>
177                 </packing>
178               </child>
179
180               <child>
181                 <widget class="GtkCheckButton" id="AutostartCheckButton">
182                   <property name="visible">True</property>
183                   <property name="can_focus">True</property>
184                   <property name="label" translatable="yes"></property>
185                   <property name="use_underline">True</property>
186                   <property name="relief">GTK_RELIEF_NORMAL</property>
187                   <property name="active">False</property>
188                   <property name="inconsistent">False</property>
189                   <property name="draw_indicator">True</property>
190                   <signal name="toggled" handler="on_AutostartCheckButton_toggled" after="yes" last_modification_time="Sun, 09 May 2004 16:51:15 GMT"/>
191                 </widget>
192                 <packing>
193                   <property name="left_attach">1</property>
194                   <property name="right_attach">2</property>
195                   <property name="top_attach">2</property>
196                   <property name="bottom_attach">3</property>
197                   <property name="x_options">fill</property>
198                   <property name="y_options"></property>
199                 </packing>
200               </child>
201
202               <child>
203                 <widget class="GtkLabel" id="HostIPLabel">
204                   <property name="visible">True</property>
205                   <property name="label" translatable="yes">Detected host IP address</property>
206                   <property name="use_underline">False</property>
207                   <property name="use_markup">False</property>
208                   <property name="justify">GTK_JUSTIFY_LEFT</property>
209                   <property name="wrap">False</property>
210                   <property name="selectable">False</property>
211                   <property name="xalign">0</property>
212                   <property name="yalign">0.5</property>
213                   <property name="xpad">0</property>
214                   <property name="ypad">0</property>
215                 </widget>
216                 <packing>
217                   <property name="left_attach">0</property>
218                   <property name="right_attach">1</property>
219                   <property name="top_attach">0</property>
220                   <property name="bottom_attach">1</property>
221                   <property name="x_options">fill</property>
222                   <property name="y_options"></property>
223                 </packing>
224               </child>
225
226               <child>
227                 <widget class="GtkEntry" id="HostIPEntry">
228                   <property name="visible">True</property>
229                   <property name="can_focus">True</property>
230                   <property name="editable">False</property>
231                   <property name="visibility">True</property>
232                   <property name="max_length">0</property>
233                   <property name="text" translatable="yes"></property>
234                   <property name="has_frame">True</property>
235                   <property name="invisible_char" translatable="yes">*</property>
236                   <property name="activates_default">False</property>
237                 </widget>
238                 <packing>
239                   <property name="left_attach">1</property>
240                   <property name="right_attach">2</property>
241                   <property name="top_attach">0</property>
242                   <property name="bottom_attach">1</property>
243                   <property name="y_options"></property>
244                 </packing>
245               </child>
246             </widget>
247             <packing>
248               <property name="padding">0</property>
249               <property name="expand">False</property>
250               <property name="fill">False</property>
251             </packing>
252           </child>
253
254           <child>
255             <widget class="GtkHButtonBox" id="ButtonHBox">
256               <property name="visible">True</property>
257               <property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property>
258               <property name="spacing">0</property>
259
260               <child>
261                 <widget class="GtkButton" id="ButtonStart">
262                   <property name="visible">True</property>
263                   <property name="can_default">True</property>
264                   <property name="can_focus">True</property>
265                   <property name="relief">GTK_RELIEF_NORMAL</property>
266                   <signal name="clicked" handler="on_ButtonStart_clicked" last_modification_time="Sun, 09 May 2004 16:49:20 GMT"/>
267
268                   <child>
269                     <widget class="GtkAlignment" id="ButtonStartAlignment">
270                       <property name="visible">True</property>
271                       <property name="xalign">0.5</property>
272                       <property name="yalign">0.5</property>
273                       <property name="xscale">0</property>
274                       <property name="yscale">0</property>
275
276                       <child>
277                         <widget class="GtkHBox" id="ButtonStartHBox">
278                           <property name="visible">True</property>
279                           <property name="homogeneous">False</property>
280                           <property name="spacing">2</property>
281
282                           <child>
283                             <widget class="GtkImage" id="ButtonStartImage">
284                               <property name="visible">True</property>
285                               <property name="stock">gtk-execute</property>
286                               <property name="icon_size">4</property>
287                               <property name="xalign">0.5</property>
288                               <property name="yalign">0.5</property>
289                               <property name="xpad">0</property>
290                               <property name="ypad">0</property>
291                             </widget>
292                             <packing>
293                               <property name="padding">0</property>
294                               <property name="expand">False</property>
295                               <property name="fill">False</property>
296                             </packing>
297                           </child>
298
299                           <child>
300                             <widget class="GtkLabel" id="ButtonStartLabel">
301                               <property name="visible">True</property>
302                               <property name="label" translatable="yes">_Start</property>
303                               <property name="use_underline">True</property>
304                               <property name="use_markup">False</property>
305                               <property name="justify">GTK_JUSTIFY_LEFT</property>
306                               <property name="wrap">False</property>
307                               <property name="selectable">False</property>
308                               <property name="xalign">0.5</property>
309                               <property name="yalign">0.5</property>
310                               <property name="xpad">0</property>
311                               <property name="ypad">0</property>
312                             </widget>
313                             <packing>
314                               <property name="padding">0</property>
315                               <property name="expand">False</property>
316                               <property name="fill">False</property>
317                             </packing>
318                           </child>
319                         </widget>
320                       </child>
321                     </widget>
322                   </child>
323                 </widget>
324               </child>
325
326               <child>
327                 <widget class="GtkButton" id="ButtonStop">
328                   <property name="visible">True</property>
329                   <property name="can_default">True</property>
330                   <property name="can_focus">True</property>
331                   <property name="relief">GTK_RELIEF_NORMAL</property>
332                   <signal name="clicked" handler="on_ButtonStop_clicked" last_modification_time="Sun, 09 May 2004 16:49:28 GMT"/>
333
334                   <child>
335                     <widget class="GtkAlignment" id="ButtonStopAlignment">
336                       <property name="visible">True</property>
337                       <property name="xalign">0.5</property>
338                       <property name="yalign">0.5</property>
339                       <property name="xscale">0</property>
340                       <property name="yscale">0</property>
341
342                       <child>
343                         <widget class="GtkHBox" id="ButtonStopHBox">
344                           <property name="visible">True</property>
345                           <property name="homogeneous">False</property>
346                           <property name="spacing">2</property>
347
348                           <child>
349                             <widget class="GtkImage" id="ButtonStopImage">
350                               <property name="visible">True</property>
351                               <property name="stock">gtk-stop</property>
352                               <property name="icon_size">4</property>
353                               <property name="xalign">0.5</property>
354                               <property name="yalign">0.5</property>
355                               <property name="xpad">0</property>
356                               <property name="ypad">0</property>
357                             </widget>
358                             <packing>
359                               <property name="padding">0</property>
360                               <property name="expand">False</property>
361                               <property name="fill">False</property>
362                             </packing>
363                           </child>
364
365                           <child>
366                             <widget class="GtkLabel" id="ButtonStopLabel">
367                               <property name="visible">True</property>
368                               <property name="label" translatable="yes">S_top</property>
369                               <property name="use_underline">True</property>
370                               <property name="use_markup">False</property>
371                               <property name="justify">GTK_JUSTIFY_LEFT</property>
372                               <property name="wrap">False</property>
373                               <property name="selectable">False</property>
374                               <property name="xalign">0.5</property>
375                               <property name="yalign">0.5</property>
376                               <property name="xpad">0</property>
377                               <property name="ypad">0</property>
378                             </widget>
379                             <packing>
380                               <property name="padding">0</property>
381                               <property name="expand">False</property>
382                               <property name="fill">False</property>
383                             </packing>
384                           </child>
385                         </widget>
386                       </child>
387                     </widget>
388                   </child>
389                 </widget>
390               </child>
391
392               <child>
393                 <widget class="GtkButton" id="ButtonHide">
394                   <property name="visible">True</property>
395                   <property name="can_default">True</property>
396                   <property name="can_focus">True</property>
397                   <property name="relief">GTK_RELIEF_NORMAL</property>
398                   <signal name="clicked" handler="on_ButtonHide_clicked" last_modification_time="Sun, 09 May 2004 16:49:35 GMT"/>
399
400                   <child>
401                     <widget class="GtkAlignment" id="ButtonHideAlignment">
402                       <property name="visible">True</property>
403                       <property name="xalign">0.5</property>
404                       <property name="yalign">0.5</property>
405                       <property name="xscale">0</property>
406                       <property name="yscale">0</property>
407
408                       <child>
409                         <widget class="GtkHBox" id="ButtonHideHBox">
410                           <property name="visible">True</property>
411                           <property name="homogeneous">False</property>
412                           <property name="spacing">2</property>
413
414                           <child>
415                             <widget class="GtkImage" id="ButtonHideImage">
416                               <property name="visible">True</property>
417                               <property name="stock">gtk-apply</property>
418                               <property name="icon_size">4</property>
419                               <property name="xalign">0.5</property>
420                               <property name="yalign">0.5</property>
421                               <property name="xpad">0</property>
422                               <property name="ypad">0</property>
423                             </widget>
424                             <packing>
425                               <property name="padding">0</property>
426                               <property name="expand">False</property>
427                               <property name="fill">False</property>
428                             </packing>
429                           </child>
430
431                           <child>
432                             <widget class="GtkLabel" id="ButtonHideLabel">
433                               <property name="visible">True</property>
434                               <property name="label" translatable="yes">_Hide</property>
435                               <property name="use_underline">True</property>
436                               <property name="use_markup">False</property>
437                               <property name="justify">GTK_JUSTIFY_LEFT</property>
438                               <property name="wrap">False</property>
439                               <property name="selectable">False</property>
440                               <property name="xalign">0.5</property>
441                               <property name="yalign">0.5</property>
442                               <property name="xpad">0</property>
443                               <property name="ypad">0</property>
444                             </widget>
445                             <packing>
446                               <property name="padding">0</property>
447                               <property name="expand">False</property>
448                               <property name="fill">False</property>
449                             </packing>
450                           </child>
451                         </widget>
452                       </child>
453                     </widget>
454                   </child>
455                 </widget>
456               </child>
457             </widget>
458             <packing>
459               <property name="padding">0</property>
460               <property name="expand">False</property>
461               <property name="fill">True</property>
462             </packing>
463           </child>
464         </widget>
465       </child>
466     </widget>
467     <packing>
468       <property name="padding">0</property>
469       <property name="expand">True</property>
470       <property name="fill">True</property>
471     </packing>
472   </child>
473
474   <child internal-child="appbar">
475     <widget class="GnomeAppBar" id="AppBar">
476       <property name="visible">True</property>
477       <property name="has_progress">True</property>
478       <property name="has_status">True</property>
479     </widget>
480     <packing>
481       <property name="padding">0</property>
482       <property name="expand">True</property>
483       <property name="fill">True</property>
484     </packing>
485   </child>
486 </widget>
487
488 </glade-interface>