aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-09-05 07:54:55 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-09-05 07:54:55 +0000
commit11776e5a524745b01ac145439ac2892a29bd0826 (patch)
tree233db0a019b3b533581f611edb9802a80d664279 /src/mainwindow.c
parent51f886e4c8b44242b10c057a1af70f66f28bb2e6 (diff)
moved procmsg.c::procmsg_get_filter_keyword() to filter.c::filter_get_keyword_from_msg().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@547 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 92c79be0..14e7e0e9 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -728,13 +728,13 @@ static GtkItemFactoryEntry mainwin_entries[] =
NULL, filter_cb, 1, NULL},
{N_("/_Tools/_Create filter rule"), NULL, NULL, 0, "<Branch>"},
{N_("/_Tools/_Create filter rule/_Automatically"),
- NULL, create_filter_cb, FILTER_BY_AUTO, NULL},
+ NULL, create_filter_cb, FLT_BY_AUTO, NULL},
{N_("/_Tools/_Create filter rule/by _From"),
- NULL, create_filter_cb, FILTER_BY_FROM, NULL},
+ NULL, create_filter_cb, FLT_BY_FROM, NULL},
{N_("/_Tools/_Create filter rule/by _To"),
- NULL, create_filter_cb, FILTER_BY_TO, NULL},
+ NULL, create_filter_cb, FLT_BY_TO, NULL},
{N_("/_Tools/_Create filter rule/by _Subject"),
- NULL, create_filter_cb, FILTER_BY_SUBJECT, NULL},
+ NULL, create_filter_cb, FLT_BY_SUBJECT, NULL},
{N_("/_Tools/---"), NULL, NULL, 0, "<Separator>"},
{N_("/_Tools/Filter _junk mails in folder"),
NULL, filter_junk_cb, 0, NULL},
@@ -3204,7 +3204,7 @@ static void select_thread_cb(MainWindow *mainwin, guint action,
static void create_filter_cb(MainWindow *mainwin, guint action,
GtkWidget *widget)
{
- summary_filter_open(mainwin->summaryview, (PrefsFilterType)action);
+ summary_filter_open(mainwin->summaryview, (FilterCreateType)action);
}
static void prefs_common_open_cb(MainWindow *mainwin, guint action,