diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-11-08 06:31:19 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-11-08 06:31:19 +0800 |
commit | 889ddc56b56ecd0c7d3127f0591b3fbd3d0a11ca (patch) | |
tree | 333abb048ebad6206972440bf966fe76635544fe /mail/mail-ops.c | |
parent | 082bc288ff27d74ae48b78d994eec2a4f0106cd2 (diff) | |
download | gsoc2013-evolution-889ddc56b56ecd0c7d3127f0591b3fbd3d0a11ca.tar.gz gsoc2013-evolution-889ddc56b56ecd0c7d3127f0591b3fbd3d0a11ca.tar.zst gsoc2013-evolution-889ddc56b56ecd0c7d3127f0591b3fbd3d0a11ca.zip |
Updated to use the ESearchBar object rather than the previously used
2000-11-07 Jeffrey Stedfast <fejj@helixcode.com>
* folder-browser.c (search_full_clicked): Updated to use the
ESearchBar object rather than the previously used search widgets.
(search_full): Same.
(search_save): Same. Also use enums to make it a little easier to
read now that we have to have enums anyway.
(folder_browser_search_menu_activated): New ESearchBar menu
callback.
(folder_browser_search_query_changed): New ESearchBar query
callback. Replaces search_set()
(folder_browser_clear_search): Updated to use the ESearchBar
object rather than the previously used search widgets.
(folder_browser_gui_init): Don't hand construct a search widget,
use the new ESearchBar convenience widget.
* mail-ops.c (cleanup_load_folder): Updated to reflect changes to
FolderBrowser.
svn path=/trunk/; revision=6490
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index f94d065b16..34afb6a130 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1693,11 +1693,11 @@ cleanup_load_folder (gpointer in_data, gpointer op_data, CamelException *ex) load_folder_input_t *input = (load_folder_input_t *) in_data; if (input->fb->folder) { - gtk_widget_set_sensitive (GTK_WIDGET (input->fb->search_entry), + gtk_widget_set_sensitive (GTK_WIDGET (input->fb->search->entry), camel_folder_has_search_capability (input-> fb-> folder)); - gtk_widget_set_sensitive (GTK_WIDGET (input->fb->search_menu), + gtk_widget_set_sensitive (GTK_WIDGET (input->fb->search->option), camel_folder_has_search_capability (input-> fb-> folder)); |