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/mail-view.c | |
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/mail-view.c')
-rw-r--r-- | mail/mail-view.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |