#include "folderview.h"
#include "folder.h"
#include "prefs_matcher.h"
-#include "sylpheed.h"
+#include "claws.h"
#include "statusbar.h"
struct _QuickSearch
/* If the string entry is empty -> hide quicksearch bar. If not -> empty it */
if (!*str) {
- quicksearch_hide(quicksearch);
+ summaryview_activate_quicksearch(
+ mainwindow_get_mainwindow()->summaryview,
+ FALSE);
} else {
quicksearch_set(quicksearch, prefs_common.summary_quicksearch_type, "");
gtk_widget_grab_focus(
gtk_option_menu_set_history(GTK_OPTION_MENU(quicksearch->search_type_opt),
type);
+ if (!matchstring || !(*matchstring))
+ quicksearch->in_typing = FALSE;
+
g_signal_handlers_block_by_func(G_OBJECT(GTK_COMBO(quicksearch->search_string_entry)->entry),
G_CALLBACK(searchbar_changed_cb), quicksearch);
gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(quicksearch->search_string_entry)->entry),