diff --git a/ChangeLog b/ChangeLog index b7b8a6230b..d451655bfb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-27 Anders Carlsson + + * demos/gtk-demo/appwindow.c (do_appwindow): Focus the + text view, so the tool bar won't have focus. + Tue Aug 26 09:57:38 2003 Owen Taylor * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b7b8a6230b..d451655bfb 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2003-08-27 Anders Carlsson + + * demos/gtk-demo/appwindow.c (do_appwindow): Focus the + text view, so the tool bar won't have focus. + Tue Aug 26 09:57:38 2003 Owen Taylor * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index b7b8a6230b..d451655bfb 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2003-08-27 Anders Carlsson + + * demos/gtk-demo/appwindow.c (do_appwindow): Focus the + text view, so the tool bar won't have focus. + Tue Aug 26 09:57:38 2003 Owen Taylor * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index b7b8a6230b..d451655bfb 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2003-08-27 Anders Carlsson + + * demos/gtk-demo/appwindow.c (do_appwindow): Focus the + text view, so the tool bar won't have focus. + Tue Aug 26 09:57:38 2003 Owen Taylor * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b7b8a6230b..d451655bfb 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2003-08-27 Anders Carlsson + + * demos/gtk-demo/appwindow.c (do_appwindow): Focus the + text view, so the tool bar won't have focus. + Tue Aug 26 09:57:38 2003 Owen Taylor * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable diff --git a/demos/gtk-demo/appwindow.c b/demos/gtk-demo/appwindow.c index c3f36f7082..4e6d7e659e 100644 --- a/demos/gtk-demo/appwindow.c +++ b/demos/gtk-demo/appwindow.c @@ -347,7 +347,8 @@ do_appwindow (void) 200, 200); contents = gtk_text_view_new (); - + gtk_widget_grab_focus (contents); + gtk_container_add (GTK_CONTAINER (sw), contents);