aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/prefs_filter_edit.c7
-rw-r--r--src/prefs_filter_edit.h1
4 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4347267f..e0223bff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-09
+
+ * src/prefs_filter_edit.[ch]: prefs_filter_edit_cond_hbox_to_cond():
+ added an argument for case sensitivity.
+
2005-12-08
* src/prefs_filter_edit.[ch]
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 44ebb4cb..745fcd0e 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2005-12-09
+
+ * src/prefs_filter_edit.[ch]: prefs_filter_edit_cond_hbox_to_cond():
+ 大小文字の区別のための引数を追加。
+
2005-12-08
* src/prefs_filter_edit.[ch]
diff --git a/src/prefs_filter_edit.c b/src/prefs_filter_edit.c
index f5a80496..52821448 100644
--- a/src/prefs_filter_edit.c
+++ b/src/prefs_filter_edit.c
@@ -1579,6 +1579,7 @@ static void prefs_filter_edit_edit_header_list(FilterCondEdit *cond_edit)
}
FilterCond *prefs_filter_edit_cond_hbox_to_cond(CondHBox *hbox,
+ gboolean case_sens,
gchar **error_msg)
{
FilterCond *cond = NULL;
@@ -1631,6 +1632,9 @@ FilterCond *prefs_filter_edit_cond_hbox_to_cond(CondHBox *hbox,
break;
}
+ if (case_sens)
+ match_flag |= FLT_CASE_SENS;
+
switch (cond_menu_type) {
case PF_COND_HEADER:
header_name = g_object_get_data
@@ -1794,7 +1798,8 @@ static FilterRule *prefs_filter_edit_dialog_to_rule(void)
CondHBox *hbox = (CondHBox *)cur->data;
FilterCond *cond;
- cond = prefs_filter_edit_cond_hbox_to_cond(hbox, &error_msg);
+ cond = prefs_filter_edit_cond_hbox_to_cond(hbox, FALSE,
+ &error_msg);
if (cond)
cond_list = g_slist_append(cond_list, cond);
else {
diff --git a/src/prefs_filter_edit.h b/src/prefs_filter_edit.h
index 99f9b1ce..fd720fa2 100644
--- a/src/prefs_filter_edit.h
+++ b/src/prefs_filter_edit.h
@@ -160,6 +160,7 @@ void prefs_filter_edit_insert_cond_hbox (FilterCondEdit *cond_edit,
gint pos);
FilterCond *prefs_filter_edit_cond_hbox_to_cond (CondHBox *hbox,
+ gboolean case_sens,
gchar **error_msg);
#endif /* __PREFS_FILTER_EDIT_H__ */