From da5fa28d5705ab2b9991f39741f2a8f1751a25ad Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 25 Dec 2013 04:33:06 -0500 Subject: [PATCH] Display different icons when Trash folder is empty or full (#1485775) --- program/js/app.js | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 2438ff9..e6cc281 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6459,6 +6459,12 @@ this.env.quota_content = content; }; + // update trash folder state + this.set_trash_count = function(count) + { + this[(count ? 'un' : '') + 'mark_folder'](this.env.trash_mailbox, 'empty', '', true); + }; + // update the mailboxlist this.set_unread_count = function(mbox, count, set_title, mark) { -- Gitblit v1.9.1