forked from AuroraMiddleware/gtk
gtk-demo: trivial improvement
Set activates-default in the assistant demo where it makes sense.
This commit is contained in:
parent
8cd9e34ee3
commit
ce58d8887f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user