diff options
author | James Bowes <bowes@cs.dal.ca> | 2005-05-18 14:46:27 (GMT) |
---|---|---|
committer | James Bowes <jbowes@src.gnome.org> | 2005-05-18 14:46:27 (GMT) |
commit | 177af55466a4ec9bebc2853bbdf4c2c22a8adce5 (patch) | |
tree | 9c5c9ce2c053bf5982f92a1d925f1c09ae1789d3 | |
parent | 4a150d4ec08e75f81630a55563c3dd8062129f13 (diff) |
Give focus to the ev-view, rather than the scrolled_window that it's in.
2005-05-18 James Bowes <bowes@cs.dal.ca>
* 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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | shell/ev-window.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-05-18 James Bowes <bowes@cs.dal.ca> + + * 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 <jrb@redhat.com> * shell/ev-view.c: (view_update_adjustments), diff --git a/shell/ev-window.c b/shell/ev-window.c index 65b8812..102e56c 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)); |