aboutsummaryrefslogtreecommitdiff
path: root/src/query_search.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-01-06 05:05:38 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-01-06 05:05:38 +0000
commit8fd3ee4dd058e85a1b27bc78d8747b765173c70d (patch)
tree1809e3d3238d542fb1f0e517c9e4da1149f5b8d7 /src/query_search.c
parent820b8d6b9d9c144a3ce0c45accd996eba580a4d3 (diff)
made the default boolean type of query search and filter condition AND.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2776 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/query_search.c')
-rw-r--r--src/query_search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/query_search.c b/src/query_search.c
index d541f9c7..193a6720 100644
--- a/src/query_search.c
+++ b/src/query_search.c
@@ -278,6 +278,7 @@ static void query_search_create(void)
MENUITEM_ADD(bool_menu, menuitem, _("Match all of the following"),
FLT_AND);
gtk_option_menu_set_menu(GTK_OPTION_MENU(bool_optmenu), bool_menu);
+ gtk_option_menu_set_history(GTK_OPTION_MENU(bool_optmenu), FLT_AND);
hbbox = gtk_hbutton_box_new();
gtk_widget_show(hbbox);
@@ -463,7 +464,7 @@ static FilterRule *query_search_dialog_to_rule(const gchar *name,
{
const gchar *id;
FolderItem *item_;
- FilterBoolOp bool_op = FLT_OR;
+ FilterBoolOp bool_op;
gboolean recursive;
gboolean case_sens;
GSList *cond_list;