diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-06-24 20:13:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-06-24 20:17:13 +0800 |
commit | f1bad7677ab2928638f8705873d7ab599b6c99cd (patch) | |
tree | 3c1b194d88fcbc94a75a9352145155aafbc77d3f /shell | |
parent | bcdea3f01e0b614a0e366ee19c0ff6810e43b32d (diff) | |
download | gsoc2013-evolution-f1bad7677ab2928638f8705873d7ab599b6c99cd.tar.gz gsoc2013-evolution-f1bad7677ab2928638f8705873d7ab599b6c99cd.tar.zst gsoc2013-evolution-f1bad7677ab2928638f8705873d7ab599b6c99cd.zip |
Bug 622559 - Changing search option should focus search entry
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-searchbar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c index 940bd9fd6b..ceab21aba5 100644 --- a/shell/e-shell-searchbar.c +++ b/shell/e-shell-searchbar.c @@ -447,8 +447,10 @@ shell_searchbar_option_changed_cb (GtkRadioAction *action, e_shell_searchbar_set_search_text (searchbar, search_text); if (search_text != NULL && *search_text != '\0') e_shell_view_execute_search (shell_view); - else + else { shell_searchbar_save_search_option (searchbar); + gtk_widget_grab_focus (searchbar->priv->search_entry); + } } else if (search_text != NULL) e_shell_searchbar_set_search_text (searchbar, NULL); |