From a043830d7e9cd81df112ffe47fad9096ebf02698 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Sat, 25 Jul 2009 04:38:35 +0400 Subject: [PATCH] [view] Grab focus after setting metadata Fixes GNOME bug #589300. --- shell/ev-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/ev-window.c b/shell/ev-window.c index d8221815..4cd8b642 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1216,6 +1216,8 @@ ev_window_setup_document (EvWindow *ev_window) info = ev_page_cache_get_info (ev_window->priv->page_cache); update_document_mode (ev_window, info->mode); + gtk_widget_grab_focus (ev_window->priv->view); + return FALSE; } -- 2.43.5