gtk/tests/merge-2.ui
Matthias Clasen 720bdb8daf Use gssize for length, not gsize.
2003-08-26  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
	for length, not gsize.

	* gtk/gtkuimanager.c: Refactor the XML format a bit: rename <Root> to
	<ui> and make it optional in strings. Rename verb to action, <dockitem>
	to <toolbar>, <menu> to <menubar>, <submenu> to <menu>.

	* demos/gtk-demo/appwindow.c:
	* tests/testactions.c:
	* tests/testmerge.c:
	* tests/merge-1.ui:
	* tests/merge-2.ui:
	* tests/merge-3.ui: Adjust to the new XML format.
2003-08-26 00:13:59 +00:00

28 lines
826 B
XML

<!--*- xml -*-->
<ui>
<menubar>
<menu name="FileMenu" action="StockFileMenuAction">
<menuitem name="New" action="NewAction" pos="top" />
<separator />
<menuitem name="Quit" action="QuitAction" />
</menu>
<menu name="HelpMenu" action="StockHelpMenuAction">
<menuitem name="About" action="AboutAction" />
</menu>
</menubar>
<toolbar name="toolbar1">
<placeholder name="ToolbarPlaceholder">
<toolitem name="Quit" action="QuitAction" />
<separator />
</placeholder>
</toolbar>
<popups>
<popup name="FileMenu" action="StockFileMenuAction">
<menuitem name="New" action="NewAction" pos="top" />
<menu name="HelpMenu" action="StockHelpMenuAction">
<menuitem name="About" action="AboutAction" />
</menu>
</popup>
</popups>
</ui>