diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-19 05:40:00 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-19 05:40:00 +0000 |
commit | 542a674e7ce493cee3fe871576cc38f6f1da886f (patch) | |
tree | be14c09f6ba46c16de229e789373d362f92349d7 /tests/testfilechooserbutton.c | |
parent | 07f0458eab97a6589cf507d1c84da1e89f15f268 (diff) | |
download | gtk+-542a674e7ce493cee3fe871576cc38f6f1da886f.tar.gz |
2.5.3GTK_2_5_3
Diffstat (limited to 'tests/testfilechooserbutton.c')
-rw-r--r-- | tests/testfilechooserbutton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c index 21ae38dff4..d453e0f54d 100644 --- a/tests/testfilechooserbutton.c +++ b/tests/testfilechooserbutton.c @@ -140,13 +140,14 @@ main (int argc, char *argv[]) hbox = gtk_hbox_new (FALSE, 12); gtk_container_add (GTK_CONTAINER (group_box), hbox); - label = gtk_label_new ("Open:"); + label = gtk_label_new_with_mnemonic ("_Open:"); gtk_size_group_add_widget (GTK_SIZE_GROUP (label_group), label); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); chooser = gtk_file_chooser_button_new_with_backend ("Select A File - testfilechooserbutton", "gtk+"); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), chooser); g_signal_connect (chooser, "current-folder-changed", G_CALLBACK (chooser_current_folder_changed_cb), NULL); g_signal_connect (chooser, "selection-changed", G_CALLBACK (chooser_selection_changed_cb), NULL); |