[evince] [view] Grab focus after setting metadata



commit a043830d7e9cd81df112ffe47fad9096ebf02698
Author: Nickolay V. Shmyrev <nshmyrev yandex ru>
Date:   Sat Jul 25 04:38:35 2009 +0400

    [view] Grab focus after setting metadata
    
    Fixes GNOME bug #589300.

 shell/ev-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index d822181..4cd8b64 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;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]