From ad5a1a59413ad3ebfe2ccfe7f49b24bf515200ed Mon Sep 17 00:00:00 2001 From: foudfou Date: Wed, 2 Apr 2014 22:16:51 +0200 Subject: [PATCH] * Renamed custom icons filename preferences for consistency. * bump version to v0.5.0b1 --- src/chrome/content/options.js | 6 +++--- src/chrome/content/options.xul | 16 ++++++++-------- src/chrome/locale/en-US/options.dtd | 4 ++-- src/chrome/locale/es-AR/options.dtd | 4 ++-- src/chrome/locale/fr/options.dtd | 4 ++-- src/chrome/locale/it/options.dtd | 4 ++-- src/chrome/locale/nl/options.dtd | 4 ++-- src/chrome/locale/sk-SK/options.dtd | 4 ++-- src/chrome/locale/zh-TW/options.dtd | 4 ++-- src/defaults/preferences/prefs.js | 4 ++-- src/install.rdf | 6 +++--- src/modules/FiretrayHandler.jsm | 16 ++++++++-------- src/modules/FiretrayMessaging.jsm | 5 ++--- src/modules/commons.js | 8 ++++---- src/modules/linux/FiretrayStatusIcon.jsm | 2 +- src/modules/winnt/FiretrayStatusIcon.jsm | 13 +++++++------ 16 files changed, 52 insertions(+), 52 deletions(-) diff --git a/src/chrome/content/options.js b/src/chrome/content/options.js index c9c2f11..ffe619e 100644 --- a/src/chrome/content/options.js +++ b/src/chrome/content/options.js @@ -228,7 +228,7 @@ var firetrayUIOptions = { FIRETRAY_NOTIFICATION_MESSAGE_COUNT; document.getElementById("ui_radio_mail_notification_newmail_icon").value = FIRETRAY_NOTIFICATION_NEWMAIL_ICON; - document.getElementById("ui_radio_mail_notification_custom_mail_icon").value = + document.getElementById("ui_radio_mail_notification_mail_icon_custom").value = FIRETRAY_NOTIFICATION_CUSTOM_ICON; document.getElementById("ui_mail_notification_enabled").checked = @@ -307,7 +307,7 @@ var firetrayUIOptions = { (notificationSetting !== FIRETRAY_NOTIFICATION_NEWMAIL_ICON)); } - let customIconGroup = document.getElementById("custom_mail_icon"); + let customIconGroup = document.getElementById("mail_icon_custom"); this.disableChildren(customIconGroup, (notificationSetting !== FIRETRAY_NOTIFICATION_CUSTOM_ICON)); }, @@ -373,7 +373,7 @@ var firetrayUIOptions = { chooseMailIconFile: function() { let updateIcon = firetray.Messaging.updateIcon.bind(firetray.Messaging); - this._chooseIconFile("custom_mail_icon_filename", updateIcon); + this._chooseIconFile("mail_icon_custom_filename", updateIcon); }, _chooseIconFile: function(elementId, callback) { diff --git a/src/chrome/content/options.xul b/src/chrome/content/options.xul index 3adadd3..9497e76 100644 --- a/src/chrome/content/options.xul +++ b/src/chrome/content/options.xul @@ -67,7 +67,7 @@ - + @@ -97,7 +97,7 @@ - +