diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-08-31 11:03:45 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-08-31 13:31:34 -0400 |
commit | ce58d8887f5660c7099b29828af801558fe68345 (patch) | |
tree | 8854b207be02c6786a64c68d2414bb341abf9887 /demos | |
parent | 8cd9e34ee3dbc15baa48a104cce5294098a93cc1 (diff) | |
download | gtk+-ce58d8887f5660c7099b29828af801558fe68345.tar.gz |
gtk-demo: trivial improvement
Set activates-default in the assistant demo where it makes sense.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/assistant.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/gtk-demo/assistant.c b/demos/gtk-demo/assistant.c index f7c6a0ff7b..c95fa02a89 100644 --- a/demos/gtk-demo/assistant.c +++ b/demos/gtk-demo/assistant.c @@ -101,6 +101,7 @@ create_page1 (GtkWidget *assistant) gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0); entry = gtk_entry_new (); + gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE); gtk_box_pack_start (GTK_BOX (box), entry, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (entry), "changed", G_CALLBACK (on_entry_changed), assistant); |