Home | History | Annotate | Line # | Download | only in tests
xgettext-glade-1 revision 1.1
      1 #!/bin/sh
      2 
      3 # Test of Glade support.
      4 
      5 tmpfiles=""
      6 trap 'rm -fr $tmpfiles' 1 2 3 15
      7 
      8 tmpfiles="$tmpfiles empty.glade"
      9 cat <<EOF > empty.glade
     10 <?xml version="1.0"?>
     11 <GTK-Interface/>
     12 EOF
     13 
     14 tmpfiles="$tmpfiles xg-gl-1.pot"
     15 : ${XGETTEXT=xgettext}
     16 ${XGETTEXT} -o xg-gl-1.pot empty.glade 2>/dev/null
     17 test $? = 0 || {
     18   echo "Skipping test: xgettext was built without Glade support"
     19   rm -fr $tmpfiles; exit 77
     20 }
     21 
     22 tmpfiles="$tmpfiles widgets.glade"
     23 cat <<EOF > widgets.glade
     24 <?xml version="1.0"?>
     25 <GTK-Interface>
     26 
     27 <project>
     28   <name>project1</name>
     29   <directory></directory>
     30   <source_directory>src</source_directory>
     31   <pixmaps_directory></pixmaps_directory>
     32   <language>C</language>
     33   <gnome_support>True</gnome_support>
     34   <gettext_support>True</gettext_support>
     35   <use_widget_names>False</use_widget_names>
     36   <output_main_file>True</output_main_file>
     37   <output_support_files>True</output_support_files>
     38   <output_build_files>True</output_build_files>
     39   <backup_source_files>True</backup_source_files>
     40   <main_source_file>interface.c</main_source_file>
     41   <main_header_file>interface.h</main_header_file>
     42   <handler_source_file>callbacks.c</handler_source_file>
     43   <handler_header_file>callbacks.h</handler_header_file>
     44   <support_source_file>support.c</support_source_file>
     45   <support_header_file>support.h</support_header_file>
     46 </project>
     47 
     48 <widget>
     49   <class>GnomeApp</class>
     50   <name>appwin</name>
     51   <signal>
     52     <name>destroy</name>
     53     <handler>gtk_main_quit</handler>
     54     <last_modification_time>Thu, 17 Jun 1999 15:06:07 GMT</last_modification_time>
     55   </signal>
     56   <title>Libglade-GNOME Test</title>
     57   <type>GTK_WINDOW_TOPLEVEL</type>
     58   <position>GTK_WIN_POS_NONE</position>
     59   <modal>False</modal>
     60   <allow_shrink>False</allow_shrink>
     61   <allow_grow>True</allow_grow>
     62   <auto_shrink>False</auto_shrink>
     63   <enable_layout_config>True</enable_layout_config>
     64 
     65   <widget>
     66     <class>GnomeDock</class>
     67     <child_name>GnomeApp:dock</child_name>
     68     <name>dock1</name>
     69     <allow_floating>True</allow_floating>
     70     <child>
     71       <padding>0</padding>
     72       <expand>True</expand>
     73       <fill>True</fill>
     74     </child>
     75 
     76     <widget>
     77       <class>GnomeDockItem</class>
     78       <name>dockitem1</name>
     79       <border_width>2</border_width>
     80       <placement>GNOME_DOCK_TOP</placement>
     81       <band>0</band>
     82       <position>0</position>
     83       <offset>0</offset>
     84       <locked>False</locked>
     85       <exclusive>False</exclusive>
     86       <never_floating>False</never_floating>
     87       <never_vertical>True</never_vertical>
     88       <never_horizontal>False</never_horizontal>
     89       <shadow_type>GTK_SHADOW_OUT</shadow_type>
     90 
     91       <widget>
     92 	<class>GtkMenuBar</class>
     93 	<name>menubar1</name>
     94 	<shadow_type>GTK_SHADOW_NONE</shadow_type>
     95 
     96 	<widget>
     97 	  <class>GtkMenuItem</class>
     98 	  <name>file1</name>
     99 	  <stock_item>GNOMEUIINFO_MENU_FILE_TREE</stock_item>
    100 
    101 	  <widget>
    102 	    <class>GtkMenu</class>
    103 	    <name>file1_menu</name>
    104 
    105 	    <widget>
    106 	      <class>GtkPixmapMenuItem</class>
    107 	      <name>open2</name>
    108 	      <signal>
    109 		<name>activate</name>
    110 		<handler>gtk_widget_show</handler>
    111 		<object>filesel</object>
    112 		<last_modification_time>Thu, 17 Jun 1999 15:03:18 GMT</last_modification_time>
    113 	      </signal>
    114 	      <stock_item>GNOMEUIINFO_MENU_OPEN_ITEM</stock_item>
    115 	    </widget>
    116 
    117 	    <widget>
    118 	      <class>GtkMenuItem</class>
    119 	      <name>show_tests1</name>
    120 	      <signal>
    121 		<name>activate</name>
    122 		<handler>gtk_widget_show</handler>
    123 		<object>testwin</object>
    124 		<last_modification_time>Thu, 17 Jun 1999 14:52:01 GMT</last_modification_time>
    125 	      </signal>
    126 	      <label>Show _Tests</label>
    127 	      <right_justify>False</right_justify>
    128 	    </widget>
    129 
    130 	    <widget>
    131 	      <class>GtkMenuItem</class>
    132 	      <name>druid_test1</name>
    133 	      <signal>
    134 		<name>activate</name>
    135 		<handler>gtk_widget_show</handler>
    136 		<object>druidwin</object>
    137 		<last_modification_time>Thu, 28 Oct 1999 15:53:37 GMT</last_modification_time>
    138 	      </signal>
    139 	      <label>Druid Test</label>
    140 	      <right_justify>False</right_justify>
    141 	    </widget>
    142 
    143 	    <widget>
    144 	      <class>GtkMenuItem</class>
    145 	      <name>separator2</name>
    146 	      <right_justify>False</right_justify>
    147 	    </widget>
    148 
    149 	    <widget>
    150 	      <class>GtkPixmapMenuItem</class>
    151 	      <name>exit1</name>
    152 	      <signal>
    153 		<name>activate</name>
    154 		<handler>gtk_widget_show</handler>
    155 		<object>closebox</object>
    156 		<last_modification_time>Thu, 17 Jun 1999 07:44:23 GMT</last_modification_time>
    157 	      </signal>
    158 	      <stock_item>GNOMEUIINFO_MENU_EXIT_ITEM</stock_item>
    159 	    </widget>
    160 	  </widget>
    161 	</widget>
    162 
    163 	<widget>
    164 	  <class>GtkMenuItem</class>
    165 	  <name>edit1</name>
    166 	  <stock_item>GNOMEUIINFO_MENU_EDIT_TREE</stock_item>
    167 
    168 	  <widget>
    169 	    <class>GtkMenu</class>
    170 	    <name>edit1_menu</name>
    171 
    172 	    <widget>
    173 	      <class>GtkPixmapMenuItem</class>
    174 	      <name>undo1</name>
    175 	      <stock_item>GNOMEUIINFO_MENU_UNDO_ITEM</stock_item>
    176 	    </widget>
    177 
    178 	    <widget>
    179 	      <class>GtkPixmapMenuItem</class>
    180 	      <name>redo1</name>
    181 	      <stock_item>GNOMEUIINFO_MENU_REDO_ITEM</stock_item>
    182 	    </widget>
    183 
    184 	    <widget>
    185 	      <class>GtkMenuItem</class>
    186 	      <name>separator3</name>
    187 	      <right_justify>False</right_justify>
    188 	    </widget>
    189 
    190 	    <widget>
    191 	      <class>GtkPixmapMenuItem</class>
    192 	      <name>cut1</name>
    193 	      <signal>
    194 		<name>activate</name>
    195 		<handler>gtk_editable_cut_clipboard</handler>
    196 		<object>textbox</object>
    197 		<last_modification_time>Thu, 17 Jun 1999 07:34:00 GMT</last_modification_time>
    198 	      </signal>
    199 	      <stock_item>GNOMEUIINFO_MENU_CUT_ITEM</stock_item>
    200 	    </widget>
    201 
    202 	    <widget>
    203 	      <class>GtkPixmapMenuItem</class>
    204 	      <name>copy1</name>
    205 	      <signal>
    206 		<name>activate</name>
    207 		<handler>gtk_editable_copy_clipboard</handler>
    208 		<object>textbox</object>
    209 		<last_modification_time>Thu, 17 Jun 1999 07:34:21 GMT</last_modification_time>
    210 	      </signal>
    211 	      <stock_item>GNOMEUIINFO_MENU_COPY_ITEM</stock_item>
    212 	    </widget>
    213 
    214 	    <widget>
    215 	      <class>GtkPixmapMenuItem</class>
    216 	      <name>paste1</name>
    217 	      <signal>
    218 		<name>activate</name>
    219 		<handler>gtk_editable_paste_clipboard</handler>
    220 		<object>textbox</object>
    221 		<last_modification_time>Thu, 17 Jun 1999 07:34:47 GMT</last_modification_time>
    222 	      </signal>
    223 	      <stock_item>GNOMEUIINFO_MENU_PASTE_ITEM</stock_item>
    224 	    </widget>
    225 
    226 	    <widget>
    227 	      <class>GtkPixmapMenuItem</class>
    228 	      <name>clear1</name>
    229 	      <signal>
    230 		<name>activate</name>
    231 		<handler>gtk_editable_delete_selection</handler>
    232 		<object>textbox</object>
    233 		<last_modification_time>Thu, 17 Jun 1999 07:35:04 GMT</last_modification_time>
    234 	      </signal>
    235 	      <stock_item>GNOMEUIINFO_MENU_CLEAR_ITEM</stock_item>
    236 	    </widget>
    237 	  </widget>
    238 	</widget>
    239 
    240 	<widget>
    241 	  <class>GtkMenuItem</class>
    242 	  <name>settings1</name>
    243 	  <stock_item>GNOMEUIINFO_MENU_SETTINGS_TREE</stock_item>
    244 
    245 	  <widget>
    246 	    <class>GtkMenu</class>
    247 	    <name>settings1_menu</name>
    248 
    249 	    <widget>
    250 	      <class>GtkPixmapMenuItem</class>
    251 	      <name>preferences1</name>
    252 	      <signal>
    253 		<name>activate</name>
    254 		<handler>gtk_widget_show</handler>
    255 		<object>propbox</object>
    256 		<last_modification_time>Tue, 28 Sep 1999 04:29:36 GMT</last_modification_time>
    257 	      </signal>
    258 	      <stock_item>GNOMEUIINFO_MENU_PREFERENCES_ITEM</stock_item>
    259 	    </widget>
    260 	  </widget>
    261 	</widget>
    262 
    263 	<widget>
    264 	  <class>GtkMenuItem</class>
    265 	  <name>help1</name>
    266 	  <stock_item>GNOMEUIINFO_MENU_HELP_TREE</stock_item>
    267 
    268 	  <widget>
    269 	    <class>GtkMenu</class>
    270 	    <name>help1_menu</name>
    271 
    272 	    <widget>
    273 	      <class>GtkPixmapMenuItem</class>
    274 	      <name>about1</name>
    275 	      <signal>
    276 		<name>activate</name>
    277 		<handler>gtk_widget_show</handler>
    278 		<object>aboutwin</object>
    279 		<last_modification_time>Thu, 17 Jun 1999 07:38:13 GMT</last_modification_time>
    280 	      </signal>
    281 	      <stock_item>GNOMEUIINFO_MENU_ABOUT_ITEM</stock_item>
    282 	    </widget>
    283 	  </widget>
    284 	</widget>
    285       </widget>
    286     </widget>
    287 
    288     <widget>
    289       <class>GnomeDockItem</class>
    290       <name>dockitem2</name>
    291       <border_width>1</border_width>
    292       <placement>GNOME_DOCK_TOP</placement>
    293       <band>1</band>
    294       <position>0</position>
    295       <offset>0</offset>
    296       <locked>False</locked>
    297       <exclusive>False</exclusive>
    298       <never_floating>False</never_floating>
    299       <never_vertical>False</never_vertical>
    300       <never_horizontal>False</never_horizontal>
    301       <shadow_type>GTK_SHADOW_OUT</shadow_type>
    302 
    303       <widget>
    304 	<class>GtkToolbar</class>
    305 	<name>toolbar1</name>
    306 	<border_width>1</border_width>
    307 	<orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
    308 	<type>GTK_TOOLBAR_BOTH</type>
    309 	<space_size>16</space_size>
    310 	<space_style>GTK_TOOLBAR_SPACE_LINE</space_style>
    311 	<relief>GTK_RELIEF_NONE</relief>
    312 	<tooltips>True</tooltips>
    313 
    314 	<widget>
    315 	  <class>GtkButton</class>
    316 	  <child_name>Toolbar:button</child_name>
    317 	  <name>button1</name>
    318 	  <label>New</label>
    319 	  <stock_pixmap>GNOME_STOCK_PIXMAP_NEW</stock_pixmap>
    320 	</widget>
    321 
    322 	<widget>
    323 	  <class>GtkButton</class>
    324 	  <child_name>Toolbar:button</child_name>
    325 	  <name>button2</name>
    326 	  <label>Open</label>
    327 	  <stock_pixmap>GNOME_STOCK_PIXMAP_OPEN</stock_pixmap>
    328 	</widget>
    329 
    330 	<widget>
    331 	  <class>GtkButton</class>
    332 	  <child_name>Toolbar:button</child_name>
    333 	  <name>button3</name>
    334 	  <label>Save</label>
    335 	  <stock_pixmap>GNOME_STOCK_PIXMAP_SAVE</stock_pixmap>
    336 	</widget>
    337 
    338 	<widget>
    339 	  <class>GtkButton</class>
    340 	  <child_name>Toolbar:button</child_name>
    341 	  <name>button4</name>
    342 	  <signal>
    343 	    <name>clicked</name>
    344 	    <handler>gtk_editable_cut_clipboard</handler>
    345 	    <object>textbox</object>
    346 	    <last_modification_time>Thu, 17 Jun 1999 07:31:19 GMT</last_modification_time>
    347 	  </signal>
    348 	  <label>Cut</label>
    349 	  <stock_pixmap>GNOME_STOCK_PIXMAP_CUT</stock_pixmap>
    350 	  <child>
    351 	    <new_group>True</new_group>
    352 	  </child>
    353 	</widget>
    354 
    355 	<widget>
    356 	  <class>GtkButton</class>
    357 	  <child_name>Toolbar:button</child_name>
    358 	  <name>button5</name>
    359 	  <signal>
    360 	    <name>clicked</name>
    361 	    <handler>gtk_editable_copy_clipboard</handler>
    362 	    <object>textbox</object>
    363 	    <last_modification_time>Thu, 17 Jun 1999 07:32:16 GMT</last_modification_time>
    364 	  </signal>
    365 	  <label>Copy</label>
    366 	  <stock_pixmap>GNOME_STOCK_PIXMAP_COPY</stock_pixmap>
    367 	</widget>
    368 
    369 	<widget>
    370 	  <class>GtkButton</class>
    371 	  <child_name>Toolbar:button</child_name>
    372 	  <name>button6</name>
    373 	  <signal>
    374 	    <name>clicked</name>
    375 	    <handler>gtk_editable_paste_clipboard</handler>
    376 	    <object>textbox</object>
    377 	    <last_modification_time>Thu, 17 Jun 1999 07:33:13 GMT</last_modification_time>
    378 	  </signal>
    379 	  <label>Paste</label>
    380 	  <stock_pixmap>GNOME_STOCK_PIXMAP_PASTE</stock_pixmap>
    381 	</widget>
    382 
    383 	<widget>
    384 	  <class>GtkButton</class>
    385 	  <child_name>Toolbar:button</child_name>
    386 	  <name>button7</name>
    387 	  <signal>
    388 	    <name>clicked</name>
    389 	    <handler>gtk_editable_delete_selection</handler>
    390 	    <object>textbox</object>
    391 	    <last_modification_time>Thu, 17 Jun 1999 07:33:30 GMT</last_modification_time>
    392 	  </signal>
    393 	  <label>Clear</label>
    394 	  <stock_pixmap>GNOME_STOCK_PIXMAP_CLEAR</stock_pixmap>
    395 	</widget>
    396 
    397 	<widget>
    398 	  <class>GtkToggleButton</class>
    399 	  <child_name>Toolbar:button</child_name>
    400 	  <name>togglebutton1</name>
    401 	  <label>Tog</label>
    402 	  <stock_pixmap>GNOME_STOCK_PIXMAP_ATTACH</stock_pixmap>
    403 	  <active>False</active>
    404 	  <child>
    405 	    <new_group>True</new_group>
    406 	  </child>
    407 	</widget>
    408       </widget>
    409     </widget>
    410 
    411     <widget>
    412       <class>GtkText</class>
    413       <child_name>GnomeDock:contents</child_name>
    414       <name>textbox</name>
    415       <can_focus>True</can_focus>
    416       <has_focus>True</has_focus>
    417       <editable>True</editable>
    418       <text>The cut copy paste and clear buttons should work correctly.</text>
    419     </widget>
    420   </widget>
    421 
    422   <widget>
    423     <class>GnomeAppBar</class>
    424     <child_name>GnomeApp:appbar</child_name>
    425     <name>appbar1</name>
    426     <has_progress>False</has_progress>
    427     <has_status>True</has_status>
    428     <child>
    429       <padding>0</padding>
    430       <expand>True</expand>
    431       <fill>True</fill>
    432     </child>
    433   </widget>
    434 </widget>
    435 
    436 <widget>
    437   <class>GnomeAbout</class>
    438   <name>aboutwin</name>
    439   <visible>False</visible>
    440   <signal>
    441     <name>clicked</name>
    442     <handler>gtk_widget_hide</handler>
    443     <last_modification_time>Thu, 17 Jun 1999 07:37:41 GMT</last_modification_time>
    444   </signal>
    445   <modal>True</modal>
    446   <copyright>Copyright (C) 1999</copyright>
    447   <authors>James Henstridge &lt;james@daa.com.au&gt;
    448 </authors>
    449   <comments>A simple program demonstrating what is possible with GNOME and
    450 libglade.  This interface has been coded entirely with GLADE, and
    451 no C code specific to this interface has been written.</comments>
    452 </widget>
    453 
    454 <widget>
    455   <class>GnomeMessageBox</class>
    456   <name>closebox</name>
    457   <visible>False</visible>
    458   <message_box_type>GNOME_MESSAGE_BOX_QUESTION</message_box_type>
    459   <message>Are you sure you want to quit
    460 the application?</message>
    461   <type>GTK_WINDOW_TOPLEVEL</type>
    462   <position>GTK_WIN_POS_NONE</position>
    463   <modal>False</modal>
    464   <allow_shrink>False</allow_shrink>
    465   <allow_grow>False</allow_grow>
    466   <auto_shrink>False</auto_shrink>
    467   <auto_close>True</auto_close>
    468   <hide_on_close>False</hide_on_close>
    469 
    470   <widget>
    471     <class>GtkVBox</class>
    472     <child_name>GnomeDialog:vbox</child_name>
    473     <name>dialog-vbox1</name>
    474     <homogeneous>False</homogeneous>
    475     <spacing>8</spacing>
    476     <child>
    477       <padding>4</padding>
    478       <expand>True</expand>
    479       <fill>True</fill>
    480     </child>
    481 
    482     <widget>
    483       <class>GtkHButtonBox</class>
    484       <child_name>GnomeDialog:action_area</child_name>
    485       <name>dialog-action_area1</name>
    486       <layout_style>GTK_BUTTONBOX_END</layout_style>
    487       <spacing>8</spacing>
    488       <child_min_width>85</child_min_width>
    489       <child_min_height>27</child_min_height>
    490       <child_ipad_x>7</child_ipad_x>
    491       <child_ipad_y>0</child_ipad_y>
    492       <child>
    493 	<padding>0</padding>
    494 	<expand>False</expand>
    495 	<fill>True</fill>
    496 	<pack>GTK_PACK_END</pack>
    497       </child>
    498 
    499       <widget>
    500 	<class>GtkButton</class>
    501 	<name>button8</name>
    502 	<can_default>True</can_default>
    503 	<can_focus>True</can_focus>
    504 	<signal>
    505 	  <name>clicked</name>
    506 	  <handler>gtk_main_quit</handler>
    507 	  <last_modification_time>Sat, 19 Jun 1999 13:56:42 GMT</last_modification_time>
    508 	</signal>
    509 	<stock_button>GNOME_STOCK_BUTTON_YES</stock_button>
    510       </widget>
    511 
    512       <widget>
    513 	<class>GtkButton</class>
    514 	<name>button9</name>
    515 	<can_default>True</can_default>
    516 	<can_focus>True</can_focus>
    517 	<signal>
    518 	  <name>clicked</name>
    519 	  <handler>gtk_widget_hide</handler>
    520 	  <object>closebox</object>
    521 	  <last_modification_time>Sat, 19 Jun 1999 13:56:56 GMT</last_modification_time>
    522 	</signal>
    523 	<stock_button>GNOME_STOCK_BUTTON_NO</stock_button>
    524       </widget>
    525 
    526       <widget>
    527 	<class>GtkButton</class>
    528 	<name>button11</name>
    529 	<can_default>True</can_default>
    530 	<can_focus>True</can_focus>
    531 	<label>X</label>
    532 	<stock_pixmap>GNOME_STOCK_PIXMAP_OPEN</stock_pixmap>
    533       </widget>
    534     </widget>
    535   </widget>
    536 </widget>
    537 
    538 <widget>
    539   <class>GtkWindow</class>
    540   <name>testwin</name>
    541   <visible>False</visible>
    542   <signal>
    543     <name>delete_event</name>
    544     <handler>gtk_widget_hide</handler>
    545     <last_modification_time>Thu, 17 Jun 1999 14:53:15 GMT</last_modification_time>
    546   </signal>
    547   <signal>
    548     <name>delete_event</name>
    549     <handler>gtk_true</handler>
    550     <last_modification_time>Thu, 17 Jun 1999 14:53:29 GMT</last_modification_time>
    551   </signal>
    552   <title>Widget Tests</title>
    553   <type>GTK_WINDOW_TOPLEVEL</type>
    554   <position>GTK_WIN_POS_NONE</position>
    555   <modal>False</modal>
    556   <allow_shrink>False</allow_shrink>
    557   <allow_grow>True</allow_grow>
    558   <auto_shrink>False</auto_shrink>
    559 
    560   <widget>
    561     <class>GtkNotebook</class>
    562     <name>notebook1</name>
    563     <can_focus>True</can_focus>
    564     <show_tabs>True</show_tabs>
    565     <show_border>True</show_border>
    566     <tab_pos>GTK_POS_TOP</tab_pos>
    567     <scrollable>True</scrollable>
    568     <tab_hborder>2</tab_hborder>
    569     <tab_vborder>2</tab_vborder>
    570     <popup_enable>False</popup_enable>
    571 
    572     <widget>
    573       <class>GnomeColorPicker</class>
    574       <name>colorpicker1</name>
    575       <border_width>100</border_width>
    576       <can_focus>True</can_focus>
    577       <dither>True</dither>
    578       <use_alpha>False</use_alpha>
    579       <title>Pick a colour</title>
    580       <tooltip>Pick a colour</tooltip>
    581     </widget>
    582 
    583     <widget>
    584       <class>GtkLabel</class>
    585       <child_name>Notebook:tab</child_name>
    586       <name>label1</name>
    587       <label>Colour Picker</label>
    588       <justify>GTK_JUSTIFY_CENTER</justify>
    589       <wrap>False</wrap>
    590       <xalign>0.5</xalign>
    591       <yalign>0.5</yalign>
    592       <xpad>0</xpad>
    593       <ypad>0</ypad>
    594     </widget>
    595 
    596     <widget>
    597       <class>GnomeFontPicker</class>
    598       <name>fontpicker1</name>
    599       <border_width>75</border_width>
    600       <can_focus>True</can_focus>
    601       <title>Pick a Font</title>
    602       <preview_text>AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz</preview_text>
    603       <mode>GNOME_FONT_PICKER_MODE_FONT_INFO</mode>
    604       <show_size>True</show_size>
    605       <use_font>True</use_font>
    606       <use_font_size>14</use_font_size>
    607     </widget>
    608 
    609     <widget>
    610       <class>GtkLabel</class>
    611       <child_name>Notebook:tab</child_name>
    612       <name>label2</name>
    613       <label>Font Picker</label>
    614       <justify>GTK_JUSTIFY_CENTER</justify>
    615       <wrap>False</wrap>
    616       <xalign>0.5</xalign>
    617       <yalign>0.5</yalign>
    618       <xpad>0</xpad>
    619       <ypad>0</ypad>
    620     </widget>
    621 
    622     <widget>
    623       <class>GnomeIconEntry</class>
    624       <name>iconentry1</name>
    625       <!-- The welcome greeting -->
    626       <title>Hello</title>
    627       <history_id>iconent_hist</history_id>
    628       <max_saved>10</max_saved>
    629     </widget>
    630 
    631     <widget>
    632       <class>GtkLabel</class>
    633       <child_name>Notebook:tab</child_name>
    634       <name>label3</name>
    635       <label>Icon Sel</label>
    636       <justify>GTK_JUSTIFY_CENTER</justify>
    637       <wrap>False</wrap>
    638       <xalign>0.5</xalign>
    639       <yalign>0.5</yalign>
    640       <xpad>0</xpad>
    641       <ypad>0</ypad>
    642     </widget>
    643 
    644     <widget>
    645       <class>GnomeHRef</class>
    646       <name>href1</name>
    647       <border_width>150</border_width>
    648       <can_focus>True</can_focus>
    649       <url>http://www.daa.com.au/~james/gnome/</url>
    650       <label>My Gnome Site</label>
    651     </widget>
    652 
    653     <widget>
    654       <class>GtkLabel</class>
    655       <child_name>Notebook:tab</child_name>
    656       <name>label4</name>
    657       <label>HRef</label>
    658       <justify>GTK_JUSTIFY_CENTER</justify>
    659       <wrap>False</wrap>
    660       <xalign>0.5</xalign>
    661       <yalign>0.5</yalign>
    662       <xpad>0</xpad>
    663       <ypad>0</ypad>
    664     </widget>
    665 
    666     <widget>
    667       <class>GnomeEntry</class>
    668       <name>entry1</name>
    669       <history_id>EntTest</history_id>
    670       <max_saved>10</max_saved>
    671 
    672       <widget>
    673 	<class>GtkEntry</class>
    674 	<child_name>GnomeEntry:entry</child_name>
    675 	<name>entry2</name>
    676 	<can_focus>True</can_focus>
    677 	<editable>True</editable>
    678 	<text_visible>True</text_visible>
    679 	<text_max_length>0</text_max_length>
    680 	<text></text>
    681       </widget>
    682     </widget>
    683 
    684     <widget>
    685       <class>GtkLabel</class>
    686       <child_name>Notebook:tab</child_name>
    687       <name>label5</name>
    688       <label>Entry</label>
    689       <justify>GTK_JUSTIFY_CENTER</justify>
    690       <wrap>False</wrap>
    691       <xalign>0.5</xalign>
    692       <yalign>0.5</yalign>
    693       <xpad>0</xpad>
    694       <ypad>0</ypad>
    695     </widget>
    696 
    697     <widget>
    698       <class>GnomeFileEntry</class>
    699       <name>fileentry1</name>
    700       <border_width>50</border_width>
    701       <history_id>FileEntTest</history_id>
    702       <max_saved>10</max_saved>
    703       <directory>False</directory>
    704       <modal>False</modal>
    705 
    706       <widget>
    707 	<class>GtkEntry</class>
    708 	<child_name>GnomeEntry:entry</child_name>
    709 	<name>entry3</name>
    710 	<can_focus>True</can_focus>
    711 	<editable>True</editable>
    712 	<text_visible>True</text_visible>
    713 	<text_max_length>0</text_max_length>
    714 	<text></text>
    715       </widget>
    716     </widget>
    717 
    718     <widget>
    719       <class>GtkLabel</class>
    720       <child_name>Notebook:tab</child_name>
    721       <name>label6</name>
    722       <label>File Entry</label>
    723       <justify>GTK_JUSTIFY_CENTER</justify>
    724       <wrap>False</wrap>
    725       <xalign>0.5</xalign>
    726       <yalign>0.5</yalign>
    727       <xpad>0</xpad>
    728       <ypad>0</ypad>
    729     </widget>
    730 
    731     <widget>
    732       <class>GtkDial</class>
    733       <name>dial1</name>
    734       <view_only>False</view_only>
    735       <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
    736       <value>0</value>
    737       <lower>0</lower>
    738       <upper>100</upper>
    739       <step>0</step>
    740       <page>0</page>
    741       <page_size>0</page_size>
    742     </widget>
    743 
    744     <widget>
    745       <class>GtkLabel</class>
    746       <child_name>Notebook:tab</child_name>
    747       <name>label7</name>
    748       <label>Dial</label>
    749       <justify>GTK_JUSTIFY_CENTER</justify>
    750       <wrap>False</wrap>
    751       <xalign>0.5</xalign>
    752       <yalign>0.5</yalign>
    753       <xpad>0</xpad>
    754       <ypad>0</ypad>
    755     </widget>
    756 
    757     <widget>
    758       <class>GtkClock</class>
    759       <name>clock1</name>
    760       <!-- This comment is ignored.  -->
    761       <type>GTK_CLOCK_REALTIME</type>
    762       <!-- This is a comment for the translators.  -->
    763       <!-- This should be an strftime format,
    764 	   as described in the strftime(3) manual page. -->
    765       <format>%H:%M</format>
    766       <seconds>0</seconds>
    767       <interval>60</interval>
    768     </widget>
    769 
    770     <widget>
    771       <class>GtkLabel</class>
    772       <child_name>Notebook:tab</child_name>
    773       <name>label8</name>
    774       <label>Clock</label>
    775       <justify>GTK_JUSTIFY_CENTER</justify>
    776       <wrap>False</wrap>
    777       <xalign>0.5</xalign>
    778       <yalign>0.5</yalign>
    779       <xpad>0</xpad>
    780       <ypad>0</ypad>
    781     </widget>
    782 
    783     <widget>
    784       <class>GnomeAnimator</class>
    785       <name>animator1</name>
    786       <width>0</width>
    787       <height>0</height>
    788       <loop_type>GNOME_ANIMATOR_LOOP_NONE</loop_type>
    789       <playback_direction>False</playback_direction>
    790       <playback_speed>1</playback_speed>
    791     </widget>
    792 
    793     <widget>
    794       <class>GtkLabel</class>
    795       <child_name>Notebook:tab</child_name>
    796       <name>label9</name>
    797       <label>Animator</label>
    798       <justify>GTK_JUSTIFY_CENTER</justify>
    799       <wrap>False</wrap>
    800       <xalign>0.5</xalign>
    801       <yalign>0.5</yalign>
    802       <xpad>0</xpad>
    803       <ypad>0</ypad>
    804     </widget>
    805 
    806     <widget>
    807       <class>GnomeCalculator</class>
    808       <name>calculator1</name>
    809     </widget>
    810 
    811     <widget>
    812       <class>GtkLabel</class>
    813       <child_name>Notebook:tab</child_name>
    814       <name>label10</name>
    815       <label>Calculator</label>
    816       <justify>GTK_JUSTIFY_CENTER</justify>
    817       <wrap>False</wrap>
    818       <xalign>0.5</xalign>
    819       <yalign>0.5</yalign>
    820       <xpad>0</xpad>
    821       <ypad>0</ypad>
    822     </widget>
    823 
    824     <widget>
    825       <class>GnomeLess</class>
    826       <name>less1</name>
    827       <font>-b&amp;h-lucidatypewriter-bold-r-normal-*-*-140-*-*-m-*-iso8859-1</font>
    828     </widget>
    829 
    830     <widget>
    831       <class>GtkLabel</class>
    832       <child_name>Notebook:tab</child_name>
    833       <name>label11</name>
    834       <label>Less</label>
    835       <justify>GTK_JUSTIFY_CENTER</justify>
    836       <wrap>False</wrap>
    837       <xalign>0.5</xalign>
    838       <yalign>0.5</yalign>
    839       <xpad>0</xpad>
    840       <ypad>0</ypad>
    841     </widget>
    842 
    843     <widget>
    844       <class>GnomePaperSelector</class>
    845       <name>paperselector1</name>
    846       <border_width>50</border_width>
    847     </widget>
    848 
    849     <widget>
    850       <class>GtkLabel</class>
    851       <child_name>Notebook:tab</child_name>
    852       <name>label12</name>
    853       <label>PaperSel</label>
    854       <justify>GTK_JUSTIFY_CENTER</justify>
    855       <wrap>False</wrap>
    856       <xalign>0.5</xalign>
    857       <yalign>0.5</yalign>
    858       <xpad>0</xpad>
    859       <ypad>0</ypad>
    860     </widget>
    861 
    862     <widget>
    863       <class>GnomeSpell</class>
    864       <name>spell1</name>
    865     </widget>
    866 
    867     <widget>
    868       <class>GtkLabel</class>
    869       <child_name>Notebook:tab</child_name>
    870       <name>label13</name>
    871       <label>GnomeSpell</label>
    872       <justify>GTK_JUSTIFY_CENTER</justify>
    873       <wrap>False</wrap>
    874       <xalign>0.5</xalign>
    875       <yalign>0.5</yalign>
    876       <xpad>0</xpad>
    877       <ypad>0</ypad>
    878     </widget>
    879   </widget>
    880 </widget>
    881 
    882 <widget>
    883   <class>GtkFileSelection</class>
    884   <name>filesel</name>
    885   <border_width>10</border_width>
    886   <visible>False</visible>
    887   <signal>
    888     <name>delete_event</name>
    889     <handler>gtk_widget_hide</handler>
    890     <last_modification_time>Thu, 17 Jun 1999 14:58:58 GMT</last_modification_time>
    891   </signal>
    892   <signal>
    893     <name>delete_event</name>
    894     <handler>gtk_true</handler>
    895     <last_modification_time>Thu, 17 Jun 1999 14:59:07 GMT</last_modification_time>
    896   </signal>
    897   <title>Select File</title>
    898   <type>GTK_WINDOW_TOPLEVEL</type>
    899   <position>GTK_WIN_POS_NONE</position>
    900   <modal>False</modal>
    901   <allow_shrink>False</allow_shrink>
    902   <allow_grow>True</allow_grow>
    903   <auto_shrink>False</auto_shrink>
    904   <show_file_op_buttons>True</show_file_op_buttons>
    905 
    906   <widget>
    907     <class>GtkButton</class>
    908     <child_name>FileSel:ok_button</child_name>
    909     <name>ok_button1</name>
    910     <can_default>True</can_default>
    911     <can_focus>True</can_focus>
    912     <signal>
    913       <name>clicked</name>
    914       <handler>gtk_widget_hide</handler>
    915       <object>filesel</object>
    916       <last_modification_time>Thu, 17 Jun 1999 15:02:33 GMT</last_modification_time>
    917     </signal>
    918     <signal>
    919       <name>clicked</name>
    920       <handler>gtk_widget_show</handler>
    921       <object>msgdialog</object>
    922       <last_modification_time>Thu, 17 Jun 1999 15:02:51 GMT</last_modification_time>
    923     </signal>
    924     <label>OK</label>
    925   </widget>
    926 
    927   <widget>
    928     <class>GtkButton</class>
    929     <child_name>FileSel:cancel_button</child_name>
    930     <name>cancel_button1</name>
    931     <can_default>True</can_default>
    932     <has_default>True</has_default>
    933     <can_focus>True</can_focus>
    934     <signal>
    935       <name>clicked</name>
    936       <handler>gtk_widget_hide</handler>
    937       <object>filesel</object>
    938       <last_modification_time>Thu, 17 Jun 1999 14:59:25 GMT</last_modification_time>
    939     </signal>
    940     <label>Cancel</label>
    941   </widget>
    942 </widget>
    943 
    944 <widget>
    945   <class>GnomeDialog</class>
    946   <name>msgdialog</name>
    947   <visible>False</visible>
    948   <type>GTK_WINDOW_TOPLEVEL</type>
    949   <position>GTK_WIN_POS_NONE</position>
    950   <modal>False</modal>
    951   <allow_shrink>False</allow_shrink>
    952   <allow_grow>False</allow_grow>
    953   <auto_shrink>False</auto_shrink>
    954   <auto_close>True</auto_close>
    955   <hide_on_close>True</hide_on_close>
    956 
    957   <widget>
    958     <class>GtkVBox</class>
    959     <child_name>GnomeDialog:vbox</child_name>
    960     <name>dialog-vbox2</name>
    961     <homogeneous>False</homogeneous>
    962     <spacing>8</spacing>
    963     <child>
    964       <padding>4</padding>
    965       <expand>True</expand>
    966       <fill>True</fill>
    967     </child>
    968 
    969     <widget>
    970       <class>GtkLabel</class>
    971       <name>label14</name>
    972       <label>If this was a real application, clicking on the
    973 OK button would probably have done something
    974 useful, rather than just displaying this dialog.</label>
    975       <justify>GTK_JUSTIFY_CENTER</justify>
    976       <wrap>False</wrap>
    977       <xalign>0.5</xalign>
    978       <yalign>0.5</yalign>
    979       <xpad>0</xpad>
    980       <ypad>0</ypad>
    981       <child>
    982 	<padding>0</padding>
    983 	<expand>False</expand>
    984 	<fill>False</fill>
    985       </child>
    986     </widget>
    987 
    988     <widget>
    989       <class>GtkHButtonBox</class>
    990       <child_name>GnomeDialog:action_area</child_name>
    991       <name>dialog-action_area2</name>
    992       <layout_style>GTK_BUTTONBOX_END</layout_style>
    993       <spacing>8</spacing>
    994       <child_min_width>85</child_min_width>
    995       <child_min_height>27</child_min_height>
    996       <child_ipad_x>7</child_ipad_x>
    997       <child_ipad_y>0</child_ipad_y>
    998       <child>
    999 	<padding>0</padding>
   1000 	<expand>False</expand>
   1001 	<fill>True</fill>
   1002 	<pack>GTK_PACK_END</pack>
   1003       </child>
   1004 
   1005       <widget>
   1006 	<class>GtkButton</class>
   1007 	<name>button10</name>
   1008 	<can_default>True</can_default>
   1009 	<can_focus>True</can_focus>
   1010 	<stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
   1011       </widget>
   1012 
   1013       <widget>
   1014 	<class>GtkButton</class>
   1015 	<name>button10</name>
   1016 	<can_default>True</can_default>
   1017 	<can_focus>True</can_focus>
   1018 	<label>Nothing</label>
   1019       </widget>
   1020     </widget>
   1021   </widget>
   1022 </widget>
   1023 
   1024 <widget>
   1025   <class>GnomePropertyBox</class>
   1026   <name>propbox</name>
   1027   <visible>False</visible>
   1028   <signal>
   1029     <name>delete_event</name>
   1030     <handler>gtk_widget_hide</handler>
   1031     <last_modification_time>Tue, 28 Sep 1999 04:29:52 GMT</last_modification_time>
   1032   </signal>
   1033   <signal>
   1034     <name>delete_event</name>
   1035     <handler>gtk_true</handler>
   1036     <last_modification_time>Tue, 28 Sep 1999 04:30:00 GMT</last_modification_time>
   1037   </signal>
   1038   <signal>
   1039     <name>clicked</name>
   1040     <handler>gtk_widget_hide</handler>
   1041     <last_modification_time>Tue, 28 Sep 1999 04:30:37 GMT</last_modification_time>
   1042   </signal>
   1043 
   1044   <widget>
   1045     <class>GtkNotebook</class>
   1046     <child_name>GnomePropertyBox:notebook</child_name>
   1047     <name>notebook2</name>
   1048     <can_focus>True</can_focus>
   1049     <show_tabs>True</show_tabs>
   1050     <show_border>True</show_border>
   1051     <tab_pos>GTK_POS_TOP</tab_pos>
   1052     <scrollable>False</scrollable>
   1053     <tab_hborder>2</tab_hborder>
   1054     <tab_vborder>2</tab_vborder>
   1055     <popup_enable>False</popup_enable>
   1056     <child>
   1057       <padding>0</padding>
   1058       <expand>True</expand>
   1059       <fill>True</fill>
   1060     </child>
   1061 
   1062     <widget>
   1063       <class>GtkFrame</class>
   1064       <name>frame1</name>
   1065       <border_width>5</border_width>
   1066       <label_xalign>0</label_xalign>
   1067       <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
   1068 
   1069       <widget>
   1070 	<class>GtkVBox</class>
   1071 	<name>vbox1</name>
   1072 	<border_width>5</border_width>
   1073 	<homogeneous>False</homogeneous>
   1074 	<spacing>3</spacing>
   1075 
   1076 	<widget>
   1077 	  <class>GtkCombo</class>
   1078 	  <name>combo1</name>
   1079 	  <value_in_list>False</value_in_list>
   1080 	  <ok_if_empty>True</ok_if_empty>
   1081 	  <case_sensitive>False</case_sensitive>
   1082 	  <use_arrows>True</use_arrows>
   1083 	  <use_arrows_always>False</use_arrows_always>
   1084 	  <items></items>
   1085 	  <child>
   1086 	    <padding>0</padding>
   1087 	    <expand>False</expand>
   1088 	    <fill>False</fill>
   1089 	  </child>
   1090 
   1091 	  <widget>
   1092 	    <class>GtkEntry</class>
   1093 	    <child_name>GtkCombo:entry</child_name>
   1094 	    <name>combo-entry1</name>
   1095 	    <can_focus>True</can_focus>
   1096 	    <signal>
   1097 	      <name>changed</name>
   1098 	      <handler>gnome_property_box_changed</handler>
   1099 	      <object>propbox</object>
   1100 	      <last_modification_time>Tue, 28 Sep 1999 04:25:07 GMT</last_modification_time>
   1101 	    </signal>
   1102 	    <editable>True</editable>
   1103 	    <text_visible>True</text_visible>
   1104 	    <text_max_length>0</text_max_length>
   1105 	    <text></text>
   1106 	  </widget>
   1107 	</widget>
   1108 
   1109 	<widget>
   1110 	  <class>GnomeFileEntry</class>
   1111 	  <name>fileentry2</name>
   1112 	  <max_saved>10</max_saved>
   1113 	  <directory>False</directory>
   1114 	  <modal>False</modal>
   1115 	  <child>
   1116 	    <padding>0</padding>
   1117 	    <expand>False</expand>
   1118 	    <fill>False</fill>
   1119 	  </child>
   1120 
   1121 	  <widget>
   1122 	    <class>GtkEntry</class>
   1123 	    <child_name>GnomeEntry:entry</child_name>
   1124 	    <name>combo-entry3</name>
   1125 	    <can_focus>True</can_focus>
   1126 	    <signal>
   1127 	      <name>changed</name>
   1128 	      <handler>gnome_property_box_changed</handler>
   1129 	      <object>propbox</object>
   1130 	      <last_modification_time>Tue, 28 Sep 1999 04:25:19 GMT</last_modification_time>
   1131 	    </signal>
   1132 	    <editable>True</editable>
   1133 	    <text_visible>True</text_visible>
   1134 	    <text_max_length>0</text_max_length>
   1135 	    <text></text>
   1136 	  </widget>
   1137 	</widget>
   1138 
   1139 	<widget>
   1140 	  <class>GnomePixmapEntry</class>
   1141 	  <name>pixmapentry1</name>
   1142 	  <preview>True</preview>
   1143 	  <child>
   1144 	    <padding>0</padding>
   1145 	    <expand>False</expand>
   1146 	    <fill>False</fill>
   1147 	  </child>
   1148 
   1149 	  <widget>
   1150 	    <class>GnomeFileEntry</class>
   1151 	    <child_name>GnomePixmapEntry:file-entry</child_name>
   1152 	    <name>entry4</name>
   1153 	    <max_saved>10</max_saved>
   1154 	    <directory>False</directory>
   1155 	    <modal>False</modal>
   1156 
   1157 	    <widget>
   1158 	      <class>GtkEntry</class>
   1159 	      <child_name>GnomeEntry:entry</child_name>
   1160 	      <name>combo-entry2</name>
   1161 	      <can_focus>True</can_focus>
   1162 	      <signal>
   1163 		<name>changed</name>
   1164 		<handler>gnome_property_box_changed</handler>
   1165 		<object>propbox</object>
   1166 		<last_modification_time>Tue, 28 Sep 1999 04:25:38 GMT</last_modification_time>
   1167 	      </signal>
   1168 	      <editable>True</editable>
   1169 	      <text_visible>True</text_visible>
   1170 	      <text_max_length>0</text_max_length>
   1171 	      <text></text>
   1172 	    </widget>
   1173 	  </widget>
   1174 	</widget>
   1175       </widget>
   1176     </widget>
   1177 
   1178     <widget>
   1179       <class>GtkLabel</class>
   1180       <child_name>Notebook:tab</child_name>
   1181       <name>label15</name>
   1182       <label>_Entry</label>
   1183       <justify>GTK_JUSTIFY_CENTER</justify>
   1184       <wrap>False</wrap>
   1185       <xalign>0.5</xalign>
   1186       <yalign>0.5</yalign>
   1187       <xpad>0</xpad>
   1188       <ypad>0</ypad>
   1189     </widget>
   1190 
   1191     <widget>
   1192       <class>GtkFrame</class>
   1193       <name>frame2</name>
   1194       <border_width>5</border_width>
   1195       <label_xalign>0</label_xalign>
   1196       <shadow_type>GTK_SHADOW_OUT</shadow_type>
   1197 
   1198       <widget>
   1199 	<class>GtkDial</class>
   1200 	<name>dial2</name>
   1201 	<view_only>False</view_only>
   1202 	<update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
   1203 	<value>0</value>
   1204 	<lower>0</lower>
   1205 	<upper>100</upper>
   1206 	<step>0</step>
   1207 	<page>0</page>
   1208 	<page_size>0</page_size>
   1209       </widget>
   1210     </widget>
   1211 
   1212     <widget>
   1213       <class>GtkLabel</class>
   1214       <child_name>Notebook:tab</child_name>
   1215       <name>label16</name>
   1216       <label>_Dial</label>
   1217       <justify>GTK_JUSTIFY_CENTER</justify>
   1218       <wrap>False</wrap>
   1219       <xalign>0.5</xalign>
   1220       <yalign>0.5</yalign>
   1221       <xpad>0</xpad>
   1222       <ypad>0</ypad>
   1223     </widget>
   1224   </widget>
   1225 </widget>
   1226 
   1227 <widget>
   1228   <class>GtkWindow</class>
   1229   <name>druidwin</name>
   1230   <visible>False</visible>
   1231   <signal>
   1232     <name>delete_event</name>
   1233     <handler>gtk_widget_hide</handler>
   1234     <last_modification_time>Thu, 28 Oct 1999 15:52:59 GMT</last_modification_time>
   1235   </signal>
   1236   <signal>
   1237     <name>delete_event</name>
   1238     <handler>gtk_true</handler>
   1239     <last_modification_time>Thu, 28 Oct 1999 15:53:09 GMT</last_modification_time>
   1240   </signal>
   1241   <title>GnomeDruid</title>
   1242   <type>GTK_WINDOW_TOPLEVEL</type>
   1243   <position>GTK_WIN_POS_NONE</position>
   1244   <modal>False</modal>
   1245   <allow_shrink>False</allow_shrink>
   1246   <allow_grow>True</allow_grow>
   1247   <auto_shrink>False</auto_shrink>
   1248 
   1249   <widget>
   1250     <class>GnomeDruid</class>
   1251     <name>druid1</name>
   1252     <signal>
   1253       <name>cancel</name>
   1254       <handler>gtk_widget_hide</handler>
   1255       <object>druidwin</object>
   1256       <last_modification_time>Thu, 28 Oct 1999 15:55:01 GMT</last_modification_time>
   1257     </signal>
   1258 
   1259     <widget>
   1260       <class>GnomeDruidPageStart</class>
   1261       <name>druidpagestart1</name>
   1262       <title>Test GnomeDruid</title>
   1263       <text>This is a simple test of the GnomeDruid
   1264 code in gnome-libs and the wrapper
   1265 for said code in libglade.</text>
   1266       <title_color>255,255,255</title_color>
   1267       <text_color>0,0,0</text_color>
   1268       <background_color>254,226,40</background_color>
   1269       <logo_background_color>255,0,20</logo_background_color>
   1270       <textbox_color>95,254,235</textbox_color>
   1271     </widget>
   1272 
   1273     <widget>
   1274       <class>GnomeDruidPageStandard</class>
   1275       <name>druidpagestandard1</name>
   1276       <title>A dial in a druid</title>
   1277       <title_color>255,255,255</title_color>
   1278       <background_color>55,190,93</background_color>
   1279       <logo_background_color>255,5,234</logo_background_color>
   1280 
   1281       <widget>
   1282 	<class>GtkVBox</class>
   1283 	<child_name>GnomeDruidPageStandard:vbox</child_name>
   1284 	<name>druid-vbox1</name>
   1285 	<border_width>50</border_width>
   1286 	<homogeneous>False</homogeneous>
   1287 	<spacing>0</spacing>
   1288 	<child>
   1289 	  <padding>0</padding>
   1290 	  <expand>True</expand>
   1291 	  <fill>True</fill>
   1292 	</child>
   1293 
   1294 	<widget>
   1295 	  <class>GtkDial</class>
   1296 	  <name>dial3</name>
   1297 	  <view_only>False</view_only>
   1298 	  <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
   1299 	  <value>0</value>
   1300 	  <lower>0</lower>
   1301 	  <upper>100</upper>
   1302 	  <step>0</step>
   1303 	  <page>0</page>
   1304 	  <page_size>0</page_size>
   1305 	  <child>
   1306 	    <padding>0</padding>
   1307 	    <expand>True</expand>
   1308 	    <fill>True</fill>
   1309 	  </child>
   1310 	</widget>
   1311       </widget>
   1312     </widget>
   1313 
   1314     <widget>
   1315       <class>GnomeDruidPageFinish</class>
   1316       <name>druidpagefinish1</name>
   1317       <signal>
   1318 	<name>finish</name>
   1319 	<handler>gtk_widget_hide</handler>
   1320 	<object>druidwin</object>
   1321 	<last_modification_time>Thu, 28 Oct 1999 15:55:24 GMT</last_modification_time>
   1322       </signal>
   1323       <title>Last Page</title>
   1324       <text>This is the end of the druid example</text>
   1325       <background_color>25,25,112</background_color>
   1326       <logo_background_color>255,147,6</logo_background_color>
   1327       <textbox_color>190,190,190</textbox_color>
   1328       <text_color>0,0,0</text_color>
   1329       <title_color>255,255,255</title_color>
   1330     </widget>
   1331   </widget>
   1332 </widget>
   1333 
   1334 </GTK-Interface>
   1335 EOF
   1336 
   1337 tmpfiles="$tmpfiles xg-gl-1.pot"
   1338 : ${XGETTEXT=xgettext}
   1339 ${XGETTEXT} --add-comments -o - widgets.glade | grep -v 'POT-Creation-Date' > xg-gl-1.pot
   1340 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
   1341 
   1342 tmpfiles="$tmpfiles xg-gl-1.ok"
   1343 cat <<EOF > xg-gl-1.ok
   1344 # SOME DESCRIPTIVE TITLE.
   1345 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
   1346 # This file is distributed under the same license as the PACKAGE package.
   1347 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
   1348 #
   1349 #, fuzzy
   1350 msgid ""
   1351 msgstr ""
   1352 "Project-Id-Version: PACKAGE VERSION\n"
   1353 "Report-Msgid-Bugs-To: \n"
   1354 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
   1355 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
   1356 "Language-Team: LANGUAGE <LL (at] li.org>\n"
   1357 "MIME-Version: 1.0\n"
   1358 "Content-Type: text/plain; charset=CHARSET\n"
   1359 "Content-Transfer-Encoding: 8bit\n"
   1360 
   1361 #: widgets.glade:33
   1362 msgid "Libglade-GNOME Test"
   1363 msgstr ""
   1364 
   1365 #: widgets.glade:103
   1366 msgid "Show _Tests"
   1367 msgstr ""
   1368 
   1369 #: widgets.glade:116
   1370 msgid "Druid Test"
   1371 msgstr ""
   1372 
   1373 #: widgets.glade:295
   1374 msgid "New"
   1375 msgstr ""
   1376 
   1377 #: widgets.glade:303
   1378 msgid "Open"
   1379 msgstr ""
   1380 
   1381 #: widgets.glade:311
   1382 msgid "Save"
   1383 msgstr ""
   1384 
   1385 #: widgets.glade:325
   1386 msgid "Cut"
   1387 msgstr ""
   1388 
   1389 #: widgets.glade:342
   1390 msgid "Copy"
   1391 msgstr ""
   1392 
   1393 #: widgets.glade:356
   1394 msgid "Paste"
   1395 msgstr ""
   1396 
   1397 #: widgets.glade:370
   1398 msgid "Clear"
   1399 msgstr ""
   1400 
   1401 #: widgets.glade:378
   1402 msgid "Tog"
   1403 msgstr ""
   1404 
   1405 #: widgets.glade:395
   1406 msgid "The cut copy paste and clear buttons should work correctly."
   1407 msgstr ""
   1408 
   1409 #: widgets.glade:423
   1410 msgid "Copyright (C) 1999"
   1411 msgstr ""
   1412 
   1413 #: widgets.glade:426
   1414 msgid ""
   1415 "A simple program demonstrating what is possible with GNOME and\n"
   1416 "libglade.  This interface has been coded entirely with GLADE, and\n"
   1417 "no C code specific to this interface has been written."
   1418 msgstr ""
   1419 
   1420 #: widgets.glade:508
   1421 msgid "X"
   1422 msgstr ""
   1423 
   1424 #: widgets.glade:529
   1425 msgid "Widget Tests"
   1426 msgstr ""
   1427 
   1428 #: widgets.glade:556 widgets.glade:557
   1429 msgid "Pick a colour"
   1430 msgstr ""
   1431 
   1432 #: widgets.glade:564
   1433 msgid "Colour Picker"
   1434 msgstr ""
   1435 
   1436 #: widgets.glade:578
   1437 msgid "Pick a Font"
   1438 msgstr ""
   1439 
   1440 #: widgets.glade:579
   1441 msgid "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"
   1442 msgstr ""
   1443 
   1444 #: widgets.glade:590
   1445 msgid "Font Picker"
   1446 msgstr ""
   1447 
   1448 #. The welcome greeting
   1449 #: widgets.glade:603
   1450 msgid "Hello"
   1451 msgstr ""
   1452 
   1453 #: widgets.glade:612
   1454 msgid "Icon Sel"
   1455 msgstr ""
   1456 
   1457 #: widgets.glade:627
   1458 msgid "My Gnome Site"
   1459 msgstr ""
   1460 
   1461 #: widgets.glade:634
   1462 msgid "HRef"
   1463 msgstr ""
   1464 
   1465 #: widgets.glade:665
   1466 msgid "Entry"
   1467 msgstr ""
   1468 
   1469 #: widgets.glade:699
   1470 msgid "File Entry"
   1471 msgstr ""
   1472 
   1473 #: widgets.glade:725
   1474 msgid "Dial"
   1475 msgstr ""
   1476 
   1477 #. This is a comment for the translators.
   1478 #. This should be an strftime format,
   1479 #. as described in the strftime(3) manual page.
   1480 #: widgets.glade:742
   1481 msgid "%H:%M"
   1482 msgstr ""
   1483 
   1484 #: widgets.glade:751
   1485 msgid "Clock"
   1486 msgstr ""
   1487 
   1488 #: widgets.glade:774
   1489 msgid "Animator"
   1490 msgstr ""
   1491 
   1492 #: widgets.glade:792
   1493 msgid "Calculator"
   1494 msgstr ""
   1495 
   1496 #: widgets.glade:811
   1497 msgid "Less"
   1498 msgstr ""
   1499 
   1500 #: widgets.glade:830
   1501 msgid "PaperSel"
   1502 msgstr ""
   1503 
   1504 #: widgets.glade:848
   1505 msgid "GnomeSpell"
   1506 msgstr ""
   1507 
   1508 #: widgets.glade:874
   1509 msgid "Select File"
   1510 msgstr ""
   1511 
   1512 #: widgets.glade:901
   1513 msgid "OK"
   1514 msgstr ""
   1515 
   1516 #: widgets.glade:917
   1517 msgid "Cancel"
   1518 msgstr ""
   1519 
   1520 #: widgets.glade:949
   1521 msgid ""
   1522 "If this was a real application, clicking on the\n"
   1523 "OK button would probably have done something\n"
   1524 "useful, rather than just displaying this dialog."
   1525 msgstr ""
   1526 
   1527 #: widgets.glade:995
   1528 msgid "Nothing"
   1529 msgstr ""
   1530 
   1531 #: widgets.glade:1159
   1532 msgid "_Entry"
   1533 msgstr ""
   1534 
   1535 #: widgets.glade:1193
   1536 msgid "_Dial"
   1537 msgstr ""
   1538 
   1539 #: widgets.glade:1218
   1540 msgid "GnomeDruid"
   1541 msgstr ""
   1542 
   1543 #: widgets.glade:1239
   1544 msgid "Test GnomeDruid"
   1545 msgstr ""
   1546 
   1547 #: widgets.glade:1240
   1548 msgid ""
   1549 "This is a simple test of the GnomeDruid\n"
   1550 "code in gnome-libs and the wrapper\n"
   1551 "for said code in libglade."
   1552 msgstr ""
   1553 
   1554 #: widgets.glade:1253
   1555 msgid "A dial in a druid"
   1556 msgstr ""
   1557 
   1558 #: widgets.glade:1300
   1559 msgid "Last Page"
   1560 msgstr ""
   1561 
   1562 #: widgets.glade:1301
   1563 msgid "This is the end of the druid example"
   1564 msgstr ""
   1565 EOF
   1566 
   1567 : ${DIFF=diff}
   1568 ${DIFF} xg-gl-1.ok xg-gl-1.pot
   1569 result=$?
   1570 
   1571 rm -fr $tmpfiles
   1572 
   1573 exit $result
   1574