From: James Bowes Date: Wed, 18 May 2005 14:46:27 +0000 (+0000) Subject: Give focus to the ev-view, rather than the scrolled_window that it's in. X-Git-Tag: EVINCE_0_3_1~15 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=177af55466a4ec9bebc2853bbdf4c2c22a8adce5;p=evince.git Give focus to the ev-view, rather than the scrolled_window that it's in. 2005-05-18 James Bowes * shell/ev-window.c: (ev_window_init): Give focus to the ev-view, rather than the scrolled_window that it's in. Fixes bug #304655. --- diff --git a/ChangeLog b/ChangeLog index 7e3fe8e0..4fb751ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-18 James Bowes + + * shell/ev-window.c: (ev_window_init): Give focus to the ev-view, + rather than the scrolled_window that it's in. Fixes bug #304655. + Tue May 17 22:54:17 2005 Jonathan Blandford * shell/ev-view.c: (view_update_adjustments), diff --git a/shell/ev-window.c b/shell/ev-window.c index 65b88125..102e56c3 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2873,8 +2873,8 @@ ev_window_init (EvWindow *ev_window) G_CALLBACK (find_bar_search_changed_cb), ev_window); - /* Give focus to the scrolled window */ - gtk_widget_grab_focus (ev_window->priv->scrolled_window); + /* Give focus to the document view */ + gtk_widget_grab_focus (ev_window->priv->view); /* Drag and Drop */ gtk_drag_dest_unset (GTK_WIDGET (ev_window));