Add a <StockItem> to the itemfactory example. (#103211)

2003-01-15  Matthias Clasen  <maclas@gmx.de>

	* examples/menu/itemfactory.c:
	* docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
	example.  (#103211)
This commit is contained in:
Matthias Clasen
2003-01-14 23:33:03 +00:00
committed by Matthias Clasen
parent 5c466a9f39
commit 7cebc87dac
7 changed files with 43 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ static GtkItemFactoryEntry menu_items[] = {
{ "/File/_Save", "<control>S", print_hello, 0, "<Item>" },
{ "/File/Save _As", NULL, NULL, 0, "<Item>" },
{ "/File/sep1", NULL, NULL, 0, "<Separator>" },
{ "/File/Quit", "<control>Q", gtk_main_quit, 0, "<Item>" },
{ "/File/_Quit", "<CTRL>Q", gtk_main_quit, 0, "<StockItem>", GTK_STOCK_QUIT },
{ "/_Options", NULL, NULL, 0, "<Branch>" },
{ "/Options/tear", NULL, NULL, 0, "<Tearoff>" },
{ "/Options/Check", NULL, print_toggle, 1, "<CheckItem>" },