From: Nickolay V. Shmyrev Date: Tue, 16 Aug 2005 15:20:14 +0000 (+0000) Subject: Return focus back to view on escape. Fix for bug 313295. X-Git-Tag: EVINCE_0_4_0~48 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=c29d31a7b097068c03f0599dcb345e9bc967f690;p=evince.git Return focus back to view on escape. Fix for bug 313295. --- diff --git a/ChangeLog b/ChangeLog index 4ee6d36f..49ff9894 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-16 Nickolay V. Shmyrev + + * shell/ev-window.c: (ev_window_cmd_escape): + + Return focus back to view on escape. Fix for bug 313295. + 2005-08-16 Nickolay V. Shmyrev * shell/ev-window.c: (update_window_title), diff --git a/shell/ev-window.c b/shell/ev-window.c index bba28eea..68174cc3 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2255,6 +2255,7 @@ ev_window_cmd_escape (GtkAction *action, EvWindow *window) widget = gtk_window_get_focus (GTK_WINDOW (window)); if (widget && gtk_widget_get_ancestor (widget, EGG_TYPE_FIND_BAR)) { update_chrome_flag (window, EV_CHROME_FINDBAR, NULL, FALSE); + gtk_widget_grab_focus (window->priv->view); } else { gboolean fullscreen; gboolean presentation;