From 11776e5a524745b01ac145439ac2892a29bd0826 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 5 Sep 2005 07:54:55 +0000 Subject: 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 --- src/mainwindow.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mainwindow.c') 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, ""}, {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, ""}, {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, -- cgit v1.2.3