gtk-demo: trivial improvement

Set activates-default in the assistant demo where it makes sense.
This commit is contained in:
Matthias Clasen 2011-08-31 11:03:45 -04:00
parent 8cd9e34ee3
commit ce58d8887f

View File

@ -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);