diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-01-14 23:33:03 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-01-14 23:33:03 +0000 |
commit | 7cebc87dac3c7df95561ae689601e61e7128744f (patch) | |
tree | d1a98a3f965a2813491fe495475913359d82c5b8 /examples | |
parent | 5c466a9f39ea04f7ab8940519d9e2d44d1a04d04 (diff) | |
download | gdk-pixbuf-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')
-rw-r--r-- | examples/menu/itemfactory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/menu/itemfactory.c b/examples/menu/itemfactory.c index c4559c227..05923101b 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>" }, |