handle mnemonics in the stock item label
2001-03-22 Havoc Pennington <hp@pobox.com> * gtk/gtktoolbar.c (gtk_toolbar_insert_stock): handle mnemonics in the stock item label * gtk/gtklabel.c: s/@gtk_func/gtk_func()/ in docs * gtk/gtkstock.c (builtin_items): add mnemonics where missing * demos/gtk-demo/*.c: Add mnemonics all over the place * gtk/gtklabel.h: mark parse_uline deprecated
This commit is contained in:
committed by
Havoc Pennington
parent
e042310560
commit
6e58fd1ee3
@ -472,12 +472,11 @@ main (int argc, char **argv)
|
||||
|
||||
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||
create_text (&info_buffer, FALSE),
|
||||
gtk_label_new ("Info"));
|
||||
|
||||
gtk_label_new_with_mnemonic ("_Info"));
|
||||
|
||||
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||
create_text (&source_buffer, TRUE),
|
||||
gtk_label_new ("Source"));
|
||||
gtk_label_new_with_mnemonic ("_Source"));
|
||||
|
||||
tag = gtk_text_buffer_create_tag (info_buffer, "title",
|
||||
"font", "Sans 18",
|
||||
|
||||
Reference in New Issue
Block a user