aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-29 08:24:58 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-29 08:24:58 +0000
commitdf251dcecf8247c46e37c25696a5722240e53bb5 (patch)
tree72eef7658b4cdc63c22fa619b8052f236636d717 /libsylph
parent0f1a9464181978dff13728f940f98c05fcbdb859 (diff)
added 'Empty junk' context menu to Junk folder.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2640 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/procmsg.c2
1 files changed, 1 insertions, 1 deletions
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);