3 # Test of Glade support.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles
="$tmpfiles empty.glade"
9 cat <<EOF > empty.glade
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 ||
{ rm -fr $tmpfiles; exit 77; }
19 tmpfiles
="$tmpfiles widgets.glade"
20 cat <<EOF > widgets.glade
26 <directory></directory>
27 <source_directory>src</source_directory>
28 <pixmaps_directory></pixmaps_directory>
29 <language>C</language>
30 <gnome_support>True</gnome_support>
31 <gettext_support>True</gettext_support>
32 <use_widget_names>False</use_widget_names>
33 <output_main_file>True</output_main_file>
34 <output_support_files>True</output_support_files>
35 <output_build_files>True</output_build_files>
36 <backup_source_files>True</backup_source_files>
37 <main_source_file>interface.c</main_source_file>
38 <main_header_file>interface.h</main_header_file>
39 <handler_source_file>callbacks.c</handler_source_file>
40 <handler_header_file>callbacks.h</handler_header_file>
41 <support_source_file>support.c</support_source_file>
42 <support_header_file>support.h</support_header_file>
46 <class>GnomeApp</class>
50 <handler>gtk_main_quit</handler>
51 <last_modification_time>Thu, 17 Jun 1999 15:06:07 GMT</last_modification_time>
53 <title>Libglade-GNOME Test</title>
54 <type>GTK_WINDOW_TOPLEVEL</type>
55 <position>GTK_WIN_POS_NONE</position>
57 <allow_shrink>False</allow_shrink>
58 <allow_grow>True</allow_grow>
59 <auto_shrink>False</auto_shrink>
60 <enable_layout_config>True</enable_layout_config>
63 <class>GnomeDock</class>
64 <child_name>GnomeApp:dock</child_name>
66 <allow_floating>True</allow_floating>
74 <class>GnomeDockItem</class>
75 <name>dockitem1</name>
76 <border_width>2</border_width>
77 <placement>GNOME_DOCK_TOP</placement>
79 <position>0</position>
81 <locked>False</locked>
82 <exclusive>False</exclusive>
83 <never_floating>False</never_floating>
84 <never_vertical>True</never_vertical>
85 <never_horizontal>False</never_horizontal>
86 <shadow_type>GTK_SHADOW_OUT</shadow_type>
89 <class>GtkMenuBar</class>
91 <shadow_type>GTK_SHADOW_NONE</shadow_type>
94 <class>GtkMenuItem</class>
96 <stock_item>GNOMEUIINFO_MENU_FILE_TREE</stock_item>
99 <class>GtkMenu</class>
100 <name>file1_menu</name>
103 <class>GtkPixmapMenuItem</class>
106 <name>activate</name>
107 <handler>gtk_widget_show</handler>
108 <object>filesel</object>
109 <last_modification_time>Thu, 17 Jun 1999 15:03:18 GMT</last_modification_time>
111 <stock_item>GNOMEUIINFO_MENU_OPEN_ITEM</stock_item>
115 <class>GtkMenuItem</class>
116 <name>show_tests1</name>
118 <name>activate</name>
119 <handler>gtk_widget_show</handler>
120 <object>testwin</object>
121 <last_modification_time>Thu, 17 Jun 1999 14:52:01 GMT</last_modification_time>
123 <label>Show _Tests</label>
124 <right_justify>False</right_justify>
128 <class>GtkMenuItem</class>
129 <name>druid_test1</name>
131 <name>activate</name>
132 <handler>gtk_widget_show</handler>
133 <object>druidwin</object>
134 <last_modification_time>Thu, 28 Oct 1999 15:53:37 GMT</last_modification_time>
136 <label>Druid Test</label>
137 <right_justify>False</right_justify>
141 <class>GtkMenuItem</class>
142 <name>separator2</name>
143 <right_justify>False</right_justify>
147 <class>GtkPixmapMenuItem</class>
150 <name>activate</name>
151 <handler>gtk_widget_show</handler>
152 <object>closebox</object>
153 <last_modification_time>Thu, 17 Jun 1999 07:44:23 GMT</last_modification_time>
155 <stock_item>GNOMEUIINFO_MENU_EXIT_ITEM</stock_item>
161 <class>GtkMenuItem</class>
163 <stock_item>GNOMEUIINFO_MENU_EDIT_TREE</stock_item>
166 <class>GtkMenu</class>
167 <name>edit1_menu</name>
170 <class>GtkPixmapMenuItem</class>
172 <stock_item>GNOMEUIINFO_MENU_UNDO_ITEM</stock_item>
176 <class>GtkPixmapMenuItem</class>
178 <stock_item>GNOMEUIINFO_MENU_REDO_ITEM</stock_item>
182 <class>GtkMenuItem</class>
183 <name>separator3</name>
184 <right_justify>False</right_justify>
188 <class>GtkPixmapMenuItem</class>
191 <name>activate</name>
192 <handler>gtk_editable_cut_clipboard</handler>
193 <object>textbox</object>
194 <last_modification_time>Thu, 17 Jun 1999 07:34:00 GMT</last_modification_time>
196 <stock_item>GNOMEUIINFO_MENU_CUT_ITEM</stock_item>
200 <class>GtkPixmapMenuItem</class>
203 <name>activate</name>
204 <handler>gtk_editable_copy_clipboard</handler>
205 <object>textbox</object>
206 <last_modification_time>Thu, 17 Jun 1999 07:34:21 GMT</last_modification_time>
208 <stock_item>GNOMEUIINFO_MENU_COPY_ITEM</stock_item>
212 <class>GtkPixmapMenuItem</class>
215 <name>activate</name>
216 <handler>gtk_editable_paste_clipboard</handler>
217 <object>textbox</object>
218 <last_modification_time>Thu, 17 Jun 1999 07:34:47 GMT</last_modification_time>
220 <stock_item>GNOMEUIINFO_MENU_PASTE_ITEM</stock_item>
224 <class>GtkPixmapMenuItem</class>
227 <name>activate</name>
228 <handler>gtk_editable_delete_selection</handler>
229 <object>textbox</object>
230 <last_modification_time>Thu, 17 Jun 1999 07:35:04 GMT</last_modification_time>
232 <stock_item>GNOMEUIINFO_MENU_CLEAR_ITEM</stock_item>
238 <class>GtkMenuItem</class>
239 <name>settings1</name>
240 <stock_item>GNOMEUIINFO_MENU_SETTINGS_TREE</stock_item>
243 <class>GtkMenu</class>
244 <name>settings1_menu</name>
247 <class>GtkPixmapMenuItem</class>
248 <name>preferences1</name>
250 <name>activate</name>
251 <handler>gtk_widget_show</handler>
252 <object>propbox</object>
253 <last_modification_time>Tue, 28 Sep 1999 04:29:36 GMT</last_modification_time>
255 <stock_item>GNOMEUIINFO_MENU_PREFERENCES_ITEM</stock_item>
261 <class>GtkMenuItem</class>
263 <stock_item>GNOMEUIINFO_MENU_HELP_TREE</stock_item>
266 <class>GtkMenu</class>
267 <name>help1_menu</name>
270 <class>GtkPixmapMenuItem</class>
273 <name>activate</name>
274 <handler>gtk_widget_show</handler>
275 <object>aboutwin</object>
276 <last_modification_time>Thu, 17 Jun 1999 07:38:13 GMT</last_modification_time>
278 <stock_item>GNOMEUIINFO_MENU_ABOUT_ITEM</stock_item>
286 <class>GnomeDockItem</class>
287 <name>dockitem2</name>
288 <border_width>1</border_width>
289 <placement>GNOME_DOCK_TOP</placement>
291 <position>0</position>
293 <locked>False</locked>
294 <exclusive>False</exclusive>
295 <never_floating>False</never_floating>
296 <never_vertical>False</never_vertical>
297 <never_horizontal>False</never_horizontal>
298 <shadow_type>GTK_SHADOW_OUT</shadow_type>
301 <class>GtkToolbar</class>
302 <name>toolbar1</name>
303 <border_width>1</border_width>
304 <orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
305 <type>GTK_TOOLBAR_BOTH</type>
306 <space_size>16</space_size>
307 <space_style>GTK_TOOLBAR_SPACE_LINE</space_style>
308 <relief>GTK_RELIEF_NONE</relief>
309 <tooltips>True</tooltips>
312 <class>GtkButton</class>
313 <child_name>Toolbar:button</child_name>
316 <stock_pixmap>GNOME_STOCK_PIXMAP_NEW</stock_pixmap>
320 <class>GtkButton</class>
321 <child_name>Toolbar:button</child_name>
324 <stock_pixmap>GNOME_STOCK_PIXMAP_OPEN</stock_pixmap>
328 <class>GtkButton</class>
329 <child_name>Toolbar:button</child_name>
332 <stock_pixmap>GNOME_STOCK_PIXMAP_SAVE</stock_pixmap>
336 <class>GtkButton</class>
337 <child_name>Toolbar:button</child_name>
341 <handler>gtk_editable_cut_clipboard</handler>
342 <object>textbox</object>
343 <last_modification_time>Thu, 17 Jun 1999 07:31:19 GMT</last_modification_time>
346 <stock_pixmap>GNOME_STOCK_PIXMAP_CUT</stock_pixmap>
348 <new_group>True</new_group>
353 <class>GtkButton</class>
354 <child_name>Toolbar:button</child_name>
358 <handler>gtk_editable_copy_clipboard</handler>
359 <object>textbox</object>
360 <last_modification_time>Thu, 17 Jun 1999 07:32:16 GMT</last_modification_time>
363 <stock_pixmap>GNOME_STOCK_PIXMAP_COPY</stock_pixmap>
367 <class>GtkButton</class>
368 <child_name>Toolbar:button</child_name>
372 <handler>gtk_editable_paste_clipboard</handler>
373 <object>textbox</object>
374 <last_modification_time>Thu, 17 Jun 1999 07:33:13 GMT</last_modification_time>
377 <stock_pixmap>GNOME_STOCK_PIXMAP_PASTE</stock_pixmap>
381 <class>GtkButton</class>
382 <child_name>Toolbar:button</child_name>
386 <handler>gtk_editable_delete_selection</handler>
387 <object>textbox</object>
388 <last_modification_time>Thu, 17 Jun 1999 07:33:30 GMT</last_modification_time>
391 <stock_pixmap>GNOME_STOCK_PIXMAP_CLEAR</stock_pixmap>
395 <class>GtkToggleButton</class>
396 <child_name>Toolbar:button</child_name>
397 <name>togglebutton1</name>
399 <stock_pixmap>GNOME_STOCK_PIXMAP_ATTACH</stock_pixmap>
400 <active>False</active>
402 <new_group>True</new_group>
409 <class>GtkText</class>
410 <child_name>GnomeDock:contents</child_name>
412 <can_focus>True</can_focus>
413 <has_focus>True</has_focus>
414 <editable>True</editable>
415 <text>The cut copy paste and clear buttons should work correctly.</text>
420 <class>GnomeAppBar</class>
421 <child_name>GnomeApp:appbar</child_name>
423 <has_progress>False</has_progress>
424 <has_status>True</has_status>
427 <expand>True</expand>
434 <class>GnomeAbout</class>
435 <name>aboutwin</name>
436 <visible>False</visible>
439 <handler>gtk_widget_hide</handler>
440 <last_modification_time>Thu, 17 Jun 1999 07:37:41 GMT</last_modification_time>
443 <copyright>Copyright (C) 1999</copyright>
444 <authors>James Henstridge <james@daa.com.au>
446 <comments>A simple program demonstrating what is possible with GNOME and
447 libglade. This interface has been coded entirely with GLADE, and
448 no C code specific to this interface has been written.</comments>
452 <class>GnomeMessageBox</class>
453 <name>closebox</name>
454 <visible>False</visible>
455 <message_box_type>GNOME_MESSAGE_BOX_QUESTION</message_box_type>
456 <message>Are you sure you want to quit
457 the application?</message>
458 <type>GTK_WINDOW_TOPLEVEL</type>
459 <position>GTK_WIN_POS_NONE</position>
461 <allow_shrink>False</allow_shrink>
462 <allow_grow>False</allow_grow>
463 <auto_shrink>False</auto_shrink>
464 <auto_close>True</auto_close>
465 <hide_on_close>False</hide_on_close>
468 <class>GtkVBox</class>
469 <child_name>GnomeDialog:vbox</child_name>
470 <name>dialog-vbox1</name>
471 <homogeneous>False</homogeneous>
475 <expand>True</expand>
480 <class>GtkHButtonBox</class>
481 <child_name>GnomeDialog:action_area</child_name>
482 <name>dialog-action_area1</name>
483 <layout_style>GTK_BUTTONBOX_END</layout_style>
485 <child_min_width>85</child_min_width>
486 <child_min_height>27</child_min_height>
487 <child_ipad_x>7</child_ipad_x>
488 <child_ipad_y>0</child_ipad_y>
491 <expand>False</expand>
493 <pack>GTK_PACK_END</pack>
497 <class>GtkButton</class>
499 <can_default>True</can_default>
500 <can_focus>True</can_focus>
503 <handler>gtk_main_quit</handler>
504 <last_modification_time>Sat, 19 Jun 1999 13:56:42 GMT</last_modification_time>
506 <stock_button>GNOME_STOCK_BUTTON_YES</stock_button>
510 <class>GtkButton</class>
512 <can_default>True</can_default>
513 <can_focus>True</can_focus>
516 <handler>gtk_widget_hide</handler>
517 <object>closebox</object>
518 <last_modification_time>Sat, 19 Jun 1999 13:56:56 GMT</last_modification_time>
520 <stock_button>GNOME_STOCK_BUTTON_NO</stock_button>
524 <class>GtkButton</class>
525 <name>button11</name>
526 <can_default>True</can_default>
527 <can_focus>True</can_focus>
529 <stock_pixmap>GNOME_STOCK_PIXMAP_OPEN</stock_pixmap>
536 <class>GtkWindow</class>
538 <visible>False</visible>
540 <name>delete_event</name>
541 <handler>gtk_widget_hide</handler>
542 <last_modification_time>Thu, 17 Jun 1999 14:53:15 GMT</last_modification_time>
545 <name>delete_event</name>
546 <handler>gtk_true</handler>
547 <last_modification_time>Thu, 17 Jun 1999 14:53:29 GMT</last_modification_time>
549 <title>Widget Tests</title>
550 <type>GTK_WINDOW_TOPLEVEL</type>
551 <position>GTK_WIN_POS_NONE</position>
553 <allow_shrink>False</allow_shrink>
554 <allow_grow>True</allow_grow>
555 <auto_shrink>False</auto_shrink>
558 <class>GtkNotebook</class>
559 <name>notebook1</name>
560 <can_focus>True</can_focus>
561 <show_tabs>True</show_tabs>
562 <show_border>True</show_border>
563 <tab_pos>GTK_POS_TOP</tab_pos>
564 <scrollable>True</scrollable>
565 <tab_hborder>2</tab_hborder>
566 <tab_vborder>2</tab_vborder>
567 <popup_enable>False</popup_enable>
570 <class>GnomeColorPicker</class>
571 <name>colorpicker1</name>
572 <border_width>100</border_width>
573 <can_focus>True</can_focus>
574 <dither>True</dither>
575 <use_alpha>False</use_alpha>
576 <title>Pick a colour</title>
577 <tooltip>Pick a colour</tooltip>
581 <class>GtkLabel</class>
582 <child_name>Notebook:tab</child_name>
584 <label>Colour Picker</label>
585 <justify>GTK_JUSTIFY_CENTER</justify>
594 <class>GnomeFontPicker</class>
595 <name>fontpicker1</name>
596 <border_width>75</border_width>
597 <can_focus>True</can_focus>
598 <title>Pick a Font</title>
599 <preview_text>AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz</preview_text>
600 <mode>GNOME_FONT_PICKER_MODE_FONT_INFO</mode>
601 <show_size>True</show_size>
602 <use_font>True</use_font>
603 <use_font_size>14</use_font_size>
607 <class>GtkLabel</class>
608 <child_name>Notebook:tab</child_name>
610 <label>Font Picker</label>
611 <justify>GTK_JUSTIFY_CENTER</justify>
620 <class>GnomeIconEntry</class>
621 <name>iconentry1</name>
622 <!-- The welcome greeting -->
624 <history_id>iconent_hist</history_id>
625 <max_saved>10</max_saved>
629 <class>GtkLabel</class>
630 <child_name>Notebook:tab</child_name>
632 <label>Icon Sel</label>
633 <justify>GTK_JUSTIFY_CENTER</justify>
642 <class>GnomeHRef</class>
644 <border_width>150</border_width>
645 <can_focus>True</can_focus>
646 <url>http://www.daa.com.au/~james/gnome/</url>
647 <label>My Gnome Site</label>
651 <class>GtkLabel</class>
652 <child_name>Notebook:tab</child_name>
655 <justify>GTK_JUSTIFY_CENTER</justify>
664 <class>GnomeEntry</class>
666 <history_id>EntTest</history_id>
667 <max_saved>10</max_saved>
670 <class>GtkEntry</class>
671 <child_name>GnomeEntry:entry</child_name>
673 <can_focus>True</can_focus>
674 <editable>True</editable>
675 <text_visible>True</text_visible>
676 <text_max_length>0</text_max_length>
682 <class>GtkLabel</class>
683 <child_name>Notebook:tab</child_name>
686 <justify>GTK_JUSTIFY_CENTER</justify>
695 <class>GnomeFileEntry</class>
696 <name>fileentry1</name>
697 <border_width>50</border_width>
698 <history_id>FileEntTest</history_id>
699 <max_saved>10</max_saved>
700 <directory>False</directory>
704 <class>GtkEntry</class>
705 <child_name>GnomeEntry:entry</child_name>
707 <can_focus>True</can_focus>
708 <editable>True</editable>
709 <text_visible>True</text_visible>
710 <text_max_length>0</text_max_length>
716 <class>GtkLabel</class>
717 <child_name>Notebook:tab</child_name>
719 <label>File Entry</label>
720 <justify>GTK_JUSTIFY_CENTER</justify>
729 <class>GtkDial</class>
731 <view_only>False</view_only>
732 <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
738 <page_size>0</page_size>
742 <class>GtkLabel</class>
743 <child_name>Notebook:tab</child_name>
746 <justify>GTK_JUSTIFY_CENTER</justify>
755 <class>GtkClock</class>
757 <!-- This comment is ignored. -->
758 <type>GTK_CLOCK_REALTIME</type>
759 <!-- This is a comment for the translators. -->
760 <!-- This should be an strftime format,
761 as described in the strftime(3) manual page. -->
762 <format>%H:%M</format>
764 <interval>60</interval>
768 <class>GtkLabel</class>
769 <child_name>Notebook:tab</child_name>
772 <justify>GTK_JUSTIFY_CENTER</justify>
781 <class>GnomeAnimator</class>
782 <name>animator1</name>
785 <loop_type>GNOME_ANIMATOR_LOOP_NONE</loop_type>
786 <playback_direction>False</playback_direction>
787 <playback_speed>1</playback_speed>
791 <class>GtkLabel</class>
792 <child_name>Notebook:tab</child_name>
794 <label>Animator</label>
795 <justify>GTK_JUSTIFY_CENTER</justify>
804 <class>GnomeCalculator</class>
805 <name>calculator1</name>
809 <class>GtkLabel</class>
810 <child_name>Notebook:tab</child_name>
812 <label>Calculator</label>
813 <justify>GTK_JUSTIFY_CENTER</justify>
822 <class>GnomeLess</class>
824 <font>-b&h-lucidatypewriter-bold-r-normal-*-*-140-*-*-m-*-iso8859-1</font>
828 <class>GtkLabel</class>
829 <child_name>Notebook:tab</child_name>
832 <justify>GTK_JUSTIFY_CENTER</justify>
841 <class>GnomePaperSelector</class>
842 <name>paperselector1</name>
843 <border_width>50</border_width>
847 <class>GtkLabel</class>
848 <child_name>Notebook:tab</child_name>
850 <label>PaperSel</label>
851 <justify>GTK_JUSTIFY_CENTER</justify>
860 <class>GnomeSpell</class>
865 <class>GtkLabel</class>
866 <child_name>Notebook:tab</child_name>
868 <label>GnomeSpell</label>
869 <justify>GTK_JUSTIFY_CENTER</justify>
880 <class>GtkFileSelection</class>
882 <border_width>10</border_width>
883 <visible>False</visible>
885 <name>delete_event</name>
886 <handler>gtk_widget_hide</handler>
887 <last_modification_time>Thu, 17 Jun 1999 14:58:58 GMT</last_modification_time>
890 <name>delete_event</name>
891 <handler>gtk_true</handler>
892 <last_modification_time>Thu, 17 Jun 1999 14:59:07 GMT</last_modification_time>
894 <title>Select File</title>
895 <type>GTK_WINDOW_TOPLEVEL</type>
896 <position>GTK_WIN_POS_NONE</position>
898 <allow_shrink>False</allow_shrink>
899 <allow_grow>True</allow_grow>
900 <auto_shrink>False</auto_shrink>
901 <show_file_op_buttons>True</show_file_op_buttons>
904 <class>GtkButton</class>
905 <child_name>FileSel:ok_button</child_name>
906 <name>ok_button1</name>
907 <can_default>True</can_default>
908 <can_focus>True</can_focus>
911 <handler>gtk_widget_hide</handler>
912 <object>filesel</object>
913 <last_modification_time>Thu, 17 Jun 1999 15:02:33 GMT</last_modification_time>
917 <handler>gtk_widget_show</handler>
918 <object>msgdialog</object>
919 <last_modification_time>Thu, 17 Jun 1999 15:02:51 GMT</last_modification_time>
925 <class>GtkButton</class>
926 <child_name>FileSel:cancel_button</child_name>
927 <name>cancel_button1</name>
928 <can_default>True</can_default>
929 <has_default>True</has_default>
930 <can_focus>True</can_focus>
933 <handler>gtk_widget_hide</handler>
934 <object>filesel</object>
935 <last_modification_time>Thu, 17 Jun 1999 14:59:25 GMT</last_modification_time>
937 <label>Cancel</label>
942 <class>GnomeDialog</class>
943 <name>msgdialog</name>
944 <visible>False</visible>
945 <type>GTK_WINDOW_TOPLEVEL</type>
946 <position>GTK_WIN_POS_NONE</position>
948 <allow_shrink>False</allow_shrink>
949 <allow_grow>False</allow_grow>
950 <auto_shrink>False</auto_shrink>
951 <auto_close>True</auto_close>
952 <hide_on_close>True</hide_on_close>
955 <class>GtkVBox</class>
956 <child_name>GnomeDialog:vbox</child_name>
957 <name>dialog-vbox2</name>
958 <homogeneous>False</homogeneous>
962 <expand>True</expand>
967 <class>GtkLabel</class>
969 <label>If this was a real application, clicking on the
970 OK button would probably have done something
971 useful, rather than just displaying this dialog.</label>
972 <justify>GTK_JUSTIFY_CENTER</justify>
980 <expand>False</expand>
986 <class>GtkHButtonBox</class>
987 <child_name>GnomeDialog:action_area</child_name>
988 <name>dialog-action_area2</name>
989 <layout_style>GTK_BUTTONBOX_END</layout_style>
991 <child_min_width>85</child_min_width>
992 <child_min_height>27</child_min_height>
993 <child_ipad_x>7</child_ipad_x>
994 <child_ipad_y>0</child_ipad_y>
997 <expand>False</expand>
999 <pack>GTK_PACK_END</pack>
1003 <class>GtkButton</class>
1004 <name>button10</name>
1005 <can_default>True</can_default>
1006 <can_focus>True</can_focus>
1007 <stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
1011 <class>GtkButton</class>
1012 <name>button10</name>
1013 <can_default>True</can_default>
1014 <can_focus>True</can_focus>
1015 <label>Nothing</label>
1022 <class>GnomePropertyBox</class>
1023 <name>propbox</name>
1024 <visible>False</visible>
1026 <name>delete_event</name>
1027 <handler>gtk_widget_hide</handler>
1028 <last_modification_time>Tue, 28 Sep 1999 04:29:52 GMT</last_modification_time>
1031 <name>delete_event</name>
1032 <handler>gtk_true</handler>
1033 <last_modification_time>Tue, 28 Sep 1999 04:30:00 GMT</last_modification_time>
1036 <name>clicked</name>
1037 <handler>gtk_widget_hide</handler>
1038 <last_modification_time>Tue, 28 Sep 1999 04:30:37 GMT</last_modification_time>
1042 <class>GtkNotebook</class>
1043 <child_name>GnomePropertyBox:notebook</child_name>
1044 <name>notebook2</name>
1045 <can_focus>True</can_focus>
1046 <show_tabs>True</show_tabs>
1047 <show_border>True</show_border>
1048 <tab_pos>GTK_POS_TOP</tab_pos>
1049 <scrollable>False</scrollable>
1050 <tab_hborder>2</tab_hborder>
1051 <tab_vborder>2</tab_vborder>
1052 <popup_enable>False</popup_enable>
1054 <padding>0</padding>
1055 <expand>True</expand>
1060 <class>GtkFrame</class>
1062 <border_width>5</border_width>
1063 <label_xalign>0</label_xalign>
1064 <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
1067 <class>GtkVBox</class>
1069 <border_width>5</border_width>
1070 <homogeneous>False</homogeneous>
1071 <spacing>3</spacing>
1074 <class>GtkCombo</class>
1076 <value_in_list>False</value_in_list>
1077 <ok_if_empty>True</ok_if_empty>
1078 <case_sensitive>False</case_sensitive>
1079 <use_arrows>True</use_arrows>
1080 <use_arrows_always>False</use_arrows_always>
1083 <padding>0</padding>
1084 <expand>False</expand>
1089 <class>GtkEntry</class>
1090 <child_name>GtkCombo:entry</child_name>
1091 <name>combo-entry1</name>
1092 <can_focus>True</can_focus>
1094 <name>changed</name>
1095 <handler>gnome_property_box_changed</handler>
1096 <object>propbox</object>
1097 <last_modification_time>Tue, 28 Sep 1999 04:25:07 GMT</last_modification_time>
1099 <editable>True</editable>
1100 <text_visible>True</text_visible>
1101 <text_max_length>0</text_max_length>
1107 <class>GnomeFileEntry</class>
1108 <name>fileentry2</name>
1109 <max_saved>10</max_saved>
1110 <directory>False</directory>
1111 <modal>False</modal>
1113 <padding>0</padding>
1114 <expand>False</expand>
1119 <class>GtkEntry</class>
1120 <child_name>GnomeEntry:entry</child_name>
1121 <name>combo-entry3</name>
1122 <can_focus>True</can_focus>
1124 <name>changed</name>
1125 <handler>gnome_property_box_changed</handler>
1126 <object>propbox</object>
1127 <last_modification_time>Tue, 28 Sep 1999 04:25:19 GMT</last_modification_time>
1129 <editable>True</editable>
1130 <text_visible>True</text_visible>
1131 <text_max_length>0</text_max_length>
1137 <class>GnomePixmapEntry</class>
1138 <name>pixmapentry1</name>
1139 <preview>True</preview>
1141 <padding>0</padding>
1142 <expand>False</expand>
1147 <class>GnomeFileEntry</class>
1148 <child_name>GnomePixmapEntry:file-entry</child_name>
1150 <max_saved>10</max_saved>
1151 <directory>False</directory>
1152 <modal>False</modal>
1155 <class>GtkEntry</class>
1156 <child_name>GnomeEntry:entry</child_name>
1157 <name>combo-entry2</name>
1158 <can_focus>True</can_focus>
1160 <name>changed</name>
1161 <handler>gnome_property_box_changed</handler>
1162 <object>propbox</object>
1163 <last_modification_time>Tue, 28 Sep 1999 04:25:38 GMT</last_modification_time>
1165 <editable>True</editable>
1166 <text_visible>True</text_visible>
1167 <text_max_length>0</text_max_length>
1176 <class>GtkLabel</class>
1177 <child_name>Notebook:tab</child_name>
1178 <name>label15</name>
1179 <label>_Entry</label>
1180 <justify>GTK_JUSTIFY_CENTER</justify>
1182 <xalign>0.5</xalign>
1183 <yalign>0.5</yalign>
1189 <class>GtkFrame</class>
1191 <border_width>5</border_width>
1192 <label_xalign>0</label_xalign>
1193 <shadow_type>GTK_SHADOW_OUT</shadow_type>
1196 <class>GtkDial</class>
1198 <view_only>False</view_only>
1199 <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
1205 <page_size>0</page_size>
1210 <class>GtkLabel</class>
1211 <child_name>Notebook:tab</child_name>
1212 <name>label16</name>
1213 <label>_Dial</label>
1214 <justify>GTK_JUSTIFY_CENTER</justify>
1216 <xalign>0.5</xalign>
1217 <yalign>0.5</yalign>
1225 <class>GtkWindow</class>
1226 <name>druidwin</name>
1227 <visible>False</visible>
1229 <name>delete_event</name>
1230 <handler>gtk_widget_hide</handler>
1231 <last_modification_time>Thu, 28 Oct 1999 15:52:59 GMT</last_modification_time>
1234 <name>delete_event</name>
1235 <handler>gtk_true</handler>
1236 <last_modification_time>Thu, 28 Oct 1999 15:53:09 GMT</last_modification_time>
1238 <title>GnomeDruid</title>
1239 <type>GTK_WINDOW_TOPLEVEL</type>
1240 <position>GTK_WIN_POS_NONE</position>
1241 <modal>False</modal>
1242 <allow_shrink>False</allow_shrink>
1243 <allow_grow>True</allow_grow>
1244 <auto_shrink>False</auto_shrink>
1247 <class>GnomeDruid</class>
1251 <handler>gtk_widget_hide</handler>
1252 <object>druidwin</object>
1253 <last_modification_time>Thu, 28 Oct 1999 15:55:01 GMT</last_modification_time>
1257 <class>GnomeDruidPageStart</class>
1258 <name>druidpagestart1</name>
1259 <title>Test GnomeDruid</title>
1260 <text>This is a simple test of the GnomeDruid
1261 code in gnome-libs and the wrapper
1262 for said code in libglade.</text>
1263 <title_color>255,255,255</title_color>
1264 <text_color>0,0,0</text_color>
1265 <background_color>254,226,40</background_color>
1266 <logo_background_color>255,0,20</logo_background_color>
1267 <textbox_color>95,254,235</textbox_color>
1271 <class>GnomeDruidPageStandard</class>
1272 <name>druidpagestandard1</name>
1273 <title>A dial in a druid</title>
1274 <title_color>255,255,255</title_color>
1275 <background_color>55,190,93</background_color>
1276 <logo_background_color>255,5,234</logo_background_color>
1279 <class>GtkVBox</class>
1280 <child_name>GnomeDruidPageStandard:vbox</child_name>
1281 <name>druid-vbox1</name>
1282 <border_width>50</border_width>
1283 <homogeneous>False</homogeneous>
1284 <spacing>0</spacing>
1286 <padding>0</padding>
1287 <expand>True</expand>
1292 <class>GtkDial</class>
1294 <view_only>False</view_only>
1295 <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
1301 <page_size>0</page_size>
1303 <padding>0</padding>
1304 <expand>True</expand>
1312 <class>GnomeDruidPageFinish</class>
1313 <name>druidpagefinish1</name>
1316 <handler>gtk_widget_hide</handler>
1317 <object>druidwin</object>
1318 <last_modification_time>Thu, 28 Oct 1999 15:55:24 GMT</last_modification_time>
1320 <title>Last Page</title>
1321 <text>This is the end of the druid example</text>
1322 <background_color>25,25,112</background_color>
1323 <logo_background_color>255,147,6</logo_background_color>
1324 <textbox_color>190,190,190</textbox_color>
1325 <text_color>0,0,0</text_color>
1326 <title_color>255,255,255</title_color>
1334 tmpfiles
="$tmpfiles xg-gl-1.pot"
1335 : ${XGETTEXT=xgettext}
1336 ${XGETTEXT} --add-comments -o - widgets.glade |
grep -v 'POT-Creation-Date' > xg-gl-1.pot
1337 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
1339 tmpfiles
="$tmpfiles xg-gl-1.ok"
1340 cat <<EOF > xg-gl-1.ok
1341 # SOME DESCRIPTIVE TITLE.
1342 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
1343 # This file is distributed under the same license as the PACKAGE package.
1344 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
1349 "Project-Id-Version: PACKAGE VERSION\n"
1350 "Report-Msgid-Bugs-To: \n"
1351 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1352 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1353 "Language-Team: LANGUAGE <LL@li.org>\n"
1354 "MIME-Version: 1.0\n"
1355 "Content-Type: text/plain; charset=CHARSET\n"
1356 "Content-Transfer-Encoding: 8bit\n"
1359 msgid "Libglade-GNOME Test"
1362 #: widgets.glade:103
1366 #: widgets.glade:116
1370 #: widgets.glade:295
1374 #: widgets.glade:303
1378 #: widgets.glade:311
1382 #: widgets.glade:325
1386 #: widgets.glade:342
1390 #: widgets.glade:356
1394 #: widgets.glade:370
1398 #: widgets.glade:378
1402 #: widgets.glade:395
1403 msgid "The cut copy paste and clear buttons should work correctly."
1406 #: widgets.glade:423
1407 msgid "Copyright (C) 1999"
1410 #: widgets.glade:426
1412 "A simple program demonstrating what is possible with GNOME and\n"
1413 "libglade. This interface has been coded entirely with GLADE, and\n"
1414 "no C code specific to this interface has been written."
1417 #: widgets.glade:508
1421 #: widgets.glade:529
1422 msgid "Widget Tests"
1425 #: widgets.glade:556 widgets.glade:557
1426 msgid "Pick a colour"
1429 #: widgets.glade:564
1430 msgid "Colour Picker"
1433 #: widgets.glade:578
1437 #: widgets.glade:579
1438 msgid "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"
1441 #: widgets.glade:590
1445 #. The welcome greeting
1446 #: widgets.glade:603
1450 #: widgets.glade:612
1454 #: widgets.glade:627
1455 msgid "My Gnome Site"
1458 #: widgets.glade:634
1462 #: widgets.glade:665
1466 #: widgets.glade:699
1470 #: widgets.glade:725
1474 #. This is a comment for the translators.
1475 #. This should be an strftime format,
1476 #. as described in the strftime(3) manual page.
1477 #: widgets.glade:742
1481 #: widgets.glade:751
1485 #: widgets.glade:774
1489 #: widgets.glade:792
1493 #: widgets.glade:811
1497 #: widgets.glade:830
1501 #: widgets.glade:848
1505 #: widgets.glade:874
1509 #: widgets.glade:901
1513 #: widgets.glade:917
1517 #: widgets.glade:949
1519 "If this was a real application, clicking on the\n"
1520 "OK button would probably have done something\n"
1521 "useful, rather than just displaying this dialog."
1524 #: widgets.glade:995
1528 #: widgets.glade:1159
1532 #: widgets.glade:1193
1536 #: widgets.glade:1218
1540 #: widgets.glade:1239
1541 msgid "Test GnomeDruid"
1544 #: widgets.glade:1240
1546 "This is a simple test of the GnomeDruid\n"
1547 "code in gnome-libs and the wrapper\n"
1548 "for said code in libglade."
1551 #: widgets.glade:1253
1552 msgid "A dial in a druid"
1555 #: widgets.glade:1300
1559 #: widgets.glade:1301
1560 msgid "This is the end of the druid example"
1565 ${DIFF} xg-gl-1.ok xg-gl-1.pot