]> Pileus Git - ~andy/gtk/commitdiff
Focus the text view, so the tool bar won't have focus.
authorAnders Carlsson <andersca@gnome.org>
Wed, 27 Aug 2003 17:18:50 +0000 (17:18 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Wed, 27 Aug 2003 17:18:50 +0000 (17:18 +0000)
2003-08-27  Anders Carlsson  <andersca@gnome.org>

* demos/gtk-demo/appwindow.c (do_appwindow): Focus the
text view, so the tool bar won't have focus.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
demos/gtk-demo/appwindow.c

index b7b8a6230ba11c78f2263506eedf66fe9ee01b13..d451655bfba2f6d697961326ad3be1974a0b58f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-27  Anders Carlsson  <andersca@gnome.org>
+
+       * 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  <otaylor@redhat.com>
 
        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
index b7b8a6230ba11c78f2263506eedf66fe9ee01b13..d451655bfba2f6d697961326ad3be1974a0b58f0 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-27  Anders Carlsson  <andersca@gnome.org>
+
+       * 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  <otaylor@redhat.com>
 
        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
index b7b8a6230ba11c78f2263506eedf66fe9ee01b13..d451655bfba2f6d697961326ad3be1974a0b58f0 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-27  Anders Carlsson  <andersca@gnome.org>
+
+       * 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  <otaylor@redhat.com>
 
        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
index b7b8a6230ba11c78f2263506eedf66fe9ee01b13..d451655bfba2f6d697961326ad3be1974a0b58f0 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-27  Anders Carlsson  <andersca@gnome.org>
+
+       * 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  <otaylor@redhat.com>
 
        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
index b7b8a6230ba11c78f2263506eedf66fe9ee01b13..d451655bfba2f6d697961326ad3be1974a0b58f0 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-27  Anders Carlsson  <andersca@gnome.org>
+
+       * 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  <otaylor@redhat.com>
 
        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
index c3f36f7082ba29f92273973e1ca9228249a47927..4e6d7e659e9bee7f3cd0cc15845fa5adf151057d 100644 (file)
@@ -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);