diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-07-29 08:24:58 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-07-29 08:24:58 +0000 |
commit | df251dcecf8247c46e37c25696a5722240e53bb5 (patch) | |
tree | 72eef7658b4cdc63c22fa619b8052f236636d717 /libsylph/procmsg.c | |
parent | 0f1a9464181978dff13728f940f98c05fcbdb859 (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/procmsg.c')
-rw-r--r-- | libsylph/procmsg.c | 2 |
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); |