From c29d31a7b097068c03f0599dcb345e9bc967f690 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Tue, 16 Aug 2005 15:20:14 +0000 Subject: Return focus back to view on escape. Fix for bug 313295. --- (limited to 'shell') diff --git a/shell/ev-window.c b/shell/ev-window.c index bba28ee..68174cc 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; -- cgit v0.9.1