[Pkg-mozext-commits] [firetray] 80/399: options: fix unread message count when (un-)checking account

David Prévot taffit at alioth.debian.org
Tue Oct 29 18:23:18 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch dfsg-clean
in repository firetray.

commit 0d2017d41099d30d04adaa94480dbfe3ccbd9c01
Author: foudfou <foudil.newbie+git at gmail.com>
Date:   Thu Nov 3 21:04:03 2011 +0100

    options: fix unread message count when (un-)checking account
---
 src/chrome/content/options.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/chrome/content/options.js b/src/chrome/content/options.js
index 52e2c7b..0f46a3c 100644
--- a/src/chrome/content/options.js
+++ b/src/chrome/content/options.js
@@ -83,6 +83,8 @@ firetray.UIOptions = {
     if (event.attrName == "value") LOG("value changed!");
     document.getElementById("pane1")
       .userChangedValue(document.getElementById("ui_tree_mail_accounts"));
+
+    firetray.Messaging.updateUnreadMsgCount();
   },
 
   _userChangeValueTreeServerTypes: function(event) {
@@ -99,8 +101,6 @@ firetray.UIOptions = {
           subRows[i], (checkboxCell.getAttribute("value") === "false"));
       }
 
-      firetray.Messaging.updateUnreadMsgCount();
-
     } else if (event.attrName == "label") { // text
       // TODO: move row to new rank
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firetray.git



More information about the Pkg-mozext-commits mailing list