From df251dcecf8247c46e37c25696a5722240e53bb5 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 29 Jul 2010 08:24:58 +0000 Subject: added 'Empty junk' context menu to Junk folder. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2640 ee746299-78ed-0310-b773-934348b2243d --- libsylph/procmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsylph') diff --git a/libsylph/procmsg.c b/libsylph/procmsg.c index b4431ea2..112d03c5 100644 --- a/libsylph/procmsg.c +++ b/libsylph/procmsg.c @@ -1475,7 +1475,7 @@ void procmsg_empty_trash(FolderItem *trash) if (!trash) return; - g_return_if_fail(trash->stype == F_TRASH); + g_return_if_fail(trash->stype == F_TRASH || trash->stype == F_JUNK); if (trash->total > 0) { debug_print("Emptying messages in %s ...\n", trash->path); -- cgit v1.2.3