aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-view.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7e7a873d8e..cfc5a4ce0d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-30 Ettore Perazzoli <ettore@helixcode.com>
+
+ * mail-view.c (mail_view_create): Make the HTML widget grab the
+ focus.
+
2000-08-30 Peter Williams <peterw@helixcode.com>
* mail-config-gui.c (do_test_service): Explicitly connect to
diff --git a/mail/mail-view.c b/mail/mail-view.c
index 989d1a2a3a..bbdfa87545 100644
--- a/mail/mail-view.c
+++ b/mail/mail-view.c
@@ -248,6 +248,7 @@ mail_view_create (CamelFolder *source, const char *uid, CamelMimeMessage *msg)
mail_display_set_message (MAIL_DISPLAY (mail_display), CAMEL_MEDIUM (msg));
data->md = MAIL_DISPLAY (mail_display);
gnome_app_set_contents (GNOME_APP (window), mail_display);
+ gtk_widget_grab_focus (GTK_WIDGET (MAIL_DISPLAY (mail_display)->html));
gtk_signal_connect (GTK_OBJECT (window), "size_allocate",
GTK_SIGNAL_FUNC (view_size_allocate_cb), NULL);