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:20:30 +0800 |
commit | dd3ea7d670be1c1dcdf38816e7a4b1ba2bd52fca (patch) | |
tree | 5a363bef2d101bfbd2cf95e717b873dd2663a051 /shell | |
parent | 6312708e37d0f0fe6aa416b008948028d2719df1 (diff) | |
download | gsoc2013-evolution-dd3ea7d670be1c1dcdf38816e7a4b1ba2bd52fca.tar.gz gsoc2013-evolution-dd3ea7d670be1c1dcdf38816e7a4b1ba2bd52fca.tar.zst gsoc2013-evolution-dd3ea7d670be1c1dcdf38816e7a4b1ba2bd52fca.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 272ba0e906..a8de5baacf 100644 --- a/shell/e-shell-searchbar.c +++ b/shell/e-shell-searchbar.c @@ -436,8 +436,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); |