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:
committed by
Matthias Clasen
parent
5c466a9f39
commit
7cebc87dac
@@ -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>" },
|
||||
|
||||
Reference in New Issue
Block a user