From 9242e072066561537b3bd38b8c9de2ce22c2a3f6 Mon Sep 17 00:00:00 2001 From: foudfou Date: Sun, 6 Nov 2011 23:53:04 +0100 Subject: [PATCH] * options: ability to choose fixed 'newmail' icon * fix actual color update after icon text color pick --- src/chrome/content/options.js | 1 + src/chrome/content/options.xul | 63 +++++++++++++++-------------- src/chrome/locale/en-US/options.dtd | 2 +- src/modules/FiretrayMessaging.jsm | 10 +++-- 4 files changed, 42 insertions(+), 34 deletions(-) diff --git a/src/chrome/content/options.js b/src/chrome/content/options.js index 7707b99..6055baa 100644 --- a/src/chrome/content/options.js +++ b/src/chrome/content/options.js @@ -106,6 +106,7 @@ firetray.UIOptions = { chooseMailIconFile: function() { var filepath = document.getElementById("custom_mail_icon_filename"); this._chooseIconFile(filepath); + firetray.Messaging.updateUnreadMsgCount(); }, _chooseIconFile: function(iconFilename) { diff --git a/src/chrome/content/options.xul b/src/chrome/content/options.xul index 71c42ec..d020a0a 100644 --- a/src/chrome/content/options.xul +++ b/src/chrome/content/options.xul @@ -25,9 +25,9 @@ - + - + @@ -43,10 +43,10 @@ - + - - + + @@ -55,38 +55,41 @@ - + + + + + - + + + + +