[gtk+] gtk-demo: trivial improvement
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: trivial improvement
- Date: Wed, 31 Aug 2011 17:32:32 +0000 (UTC)
commit ce58d8887f5660c7099b29828af801558fe68345
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Aug 31 11:03:45 2011 -0400
gtk-demo: trivial improvement
Set activates-default in the assistant demo where it makes sense.
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 f7c6a0f..c95fa02 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]