aboutsummaryrefslogtreecommitdiff
path: root/src/messageview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-09-26 06:11:11 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-09-26 06:11:11 +0000
commit2569f2416f350e29ff414671b74f2524fa883113 (patch)
tree73665a52ff8ae74186082d7733374f88a3495522 /src/messageview.c
parentf8c3b6a8f6f9bf86ea02fb8220d24cccf6520869 (diff)
use target header field as a default filter name when creating filter rule automatically.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2042 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/messageview.c')
-rw-r--r--src/messageview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messageview.c b/src/messageview.c
index 828c442b..fb312338 100644
--- a/src/messageview.c
+++ b/src/messageview.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2006 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2008 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1010,7 +1010,7 @@ static void create_filter_cb(gpointer data, guint action, GtkWidget *widget)
filter_get_keyword_from_msg(messageview->msginfo, &header, &key,
(FilterCreateType)action);
- prefs_filter_open(messageview->msginfo, header);
+ prefs_filter_open(messageview->msginfo, header, key);
g_free(header);
g_free(key);