summaryrefslogtreecommitdiff
path: root/examples/menu
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-01-14 23:33:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-01-14 23:33:03 +0000
commit7cebc87dac3c7df95561ae689601e61e7128744f (patch)
treed1a98a3f965a2813491fe495475913359d82c5b8 /examples/menu
parent5c466a9f39ea04f7ab8940519d9e2d44d1a04d04 (diff)
downloadgtk+-7cebc87dac3c7df95561ae689601e61e7128744f.tar.gz
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)
Diffstat (limited to 'examples/menu')
-rw-r--r--examples/menu/itemfactory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/menu/itemfactory.c b/examples/menu/itemfactory.c
index c4559c2275..05923101b2 100644
--- a/examples/menu/itemfactory.c
+++ b/examples/menu/itemfactory.c
@@ -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>" },