[evolution/evolution-3-12] Bug #726654 - Search bar's filter change may not steal keyboard focus



commit 07a34a63347ce3a28c3dab5bb27b520d07374f09
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 27 12:19:21 2014 +0100

    Bug #726654 - Search bar's filter change may not steal keyboard focus

 shell/e-shell-searchbar.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index 2c070cf..3339a63 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]