diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 06:09:34 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 06:09:34 +0800 |
commit | 5d12f06367a0939387381f66cea77766a873aea6 (patch) | |
tree | 221b29a45e7e52481a4638d12cdf8e8253bb9ce1 /widgets | |
parent | 23f58b3f17ce7ba08a8bd3f6066f62f0f454bacf (diff) | |
download | gsoc2013-evolution-5d12f06367a0939387381f66cea77766a873aea6.tar gsoc2013-evolution-5d12f06367a0939387381f66cea77766a873aea6.tar.gz gsoc2013-evolution-5d12f06367a0939387381f66cea77766a873aea6.tar.bz2 gsoc2013-evolution-5d12f06367a0939387381f66cea77766a873aea6.tar.lz gsoc2013-evolution-5d12f06367a0939387381f66cea77766a873aea6.tar.xz gsoc2013-evolution-5d12f06367a0939387381f66cea77766a873aea6.tar.zst gsoc2013-evolution-5d12f06367a0939387381f66cea77766a873aea6.zip |
Bug 580925 – Better search bar for word searches
Make the word search bar more like Firefox and get rid of the "Current
Message" search scope in the folder search bar. Shift+Ctrl+F now
activates the word search bar.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-filter-bar.c | 6 | ||||
-rw-r--r-- | widgets/misc/e-filter-bar.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c index ac5012b7d2..aeb4fa36f3 100644 --- a/widgets/misc/e-filter-bar.c +++ b/widgets/misc/e-filter-bar.c @@ -325,12 +325,6 @@ option_changed (ESearchBar *esb, void *data) d(printf("option changed, id = %d, setquery = %s %d\n", id, efb->setquery ? "true" : "false", esb->block_search)); - if (esb->scopeitem_id == E_FILTERBAR_CURRENT_MESSAGE_ID) { - gtk_widget_set_sensitive (esb->option_button, FALSE); - } else { - gtk_widget_set_sensitive (esb->option_button, TRUE); - } - if (efb->setquery) return; diff --git a/widgets/misc/e-filter-bar.h b/widgets/misc/e-filter-bar.h index be7e26c83b..41e3bde4ba 100644 --- a/widgets/misc/e-filter-bar.h +++ b/widgets/misc/e-filter-bar.h @@ -95,7 +95,6 @@ enum { /* preset option options */ E_FILTERBAR_ADVANCED_ID = -5, - E_FILTERBAR_CURRENT_MESSAGE_ID = -6, E_FILTERBAR_CURRENT_FOLDER_ID = -7, E_FILTERBAR_CURRENT_ACCOUNT_ID = -8, E_FILTERBAR_ALL_ACCOUNTS_ID = -9 @@ -107,7 +106,6 @@ enum { #define E_FILTERBAR_ALL_ACCOUNTS { N_("All Accounts"), E_FILTERBAR_ALL_ACCOUNTS_ID, ESB_ITEMTYPE_RADIO } #define E_FILTERBAR_CURRENT_ACCOUNT { N_("Current Account"), E_FILTERBAR_CURRENT_ACCOUNT_ID, ESB_ITEMTYPE_RADIO } #define E_FILTERBAR_CURRENT_FOLDER { N_("Current Folder"), E_FILTERBAR_CURRENT_FOLDER_ID, ESB_ITEMTYPE_RADIO } -#define E_FILTERBAR_CURRENT_MESSAGE { N_("Current Message"), E_FILTERBAR_CURRENT_MESSAGE_ID, ESB_ITEMTYPE_RADIO } #define E_FILTERBAR_SEPARATOR { NULL, 0, 0 } #ifdef JUST_FOR_TRANSLATORS |