diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-31 10:22:37 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-31 10:22:37 +0800 |
commit | 847c27f555cab89444f863326de57abcd8ad9766 (patch) | |
tree | aa34202cc8c0bb5eb5e2b6ada53b72787c26fe6d /mail | |
parent | 26f1d04d35245fa23b469f2629d9564701ef4182 (diff) | |
download | gsoc2013-evolution-847c27f555cab89444f863326de57abcd8ad9766.tar.gz gsoc2013-evolution-847c27f555cab89444f863326de57abcd8ad9766.tar.zst gsoc2013-evolution-847c27f555cab89444f863326de57abcd8ad9766.zip |
Make the HTML widget grab the focus in the mail view window so that
you can scroll with the keyboard without clicking on the widget first.
svn path=/trunk/; revision=5130
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-view.c | 1 |
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); |