From d19f306eb81bf0582c84ae8c7055e39c323fae4f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 27 Mar 2014 12:19:21 +0100 Subject: Bug #726654 - Search bar's filter change may not steal keyboard focus --- shell/e-shell-searchbar.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'shell') diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c index 2c070cfd5d..3339a63091 100644 --- a/shell/e-shell-searchbar.c +++ b/shell/e-shell-searchbar.c @@ -332,17 +332,10 @@ shell_searchbar_filter_changed_cb (GtkComboBox *filter_combo_box, EShellSearchbar *searchbar) { EShellView *shell_view; - EShellContent *shell_content; shell_view = e_shell_searchbar_get_shell_view (searchbar); e_shell_view_execute_search (shell_view); - - /* Direct the focus away from the filter combo box so the - * next keyboard event doesn't change the selected filter. - * The user is probably trying to navigate search results. */ - shell_content = e_shell_view_get_shell_content (shell_view); - e_shell_content_focus_search_results (shell_content); } static void -- cgit v1.2.3