This commit is contained in:
foudfou 2011-07-06 01:41:28 +02:00
parent 56015e3744
commit ddf1763b9a
7 changed files with 11 additions and 20 deletions

View File

@ -12,8 +12,3 @@ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should be able to obtain a copy of the GNU General Public License from
http://www.gnu.org/licenses/gpl.txt; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***
This extension is a complete re-write of NewMitMMe (Andras TIM -
andras.tim@gmail.com, andras.tim@balabit.hu) and MitMMe (Johnathan Nightingale)

View File

@ -22,7 +22,7 @@ help:
@echo "Have fun !"
# The UUID of the extension.
extension_uuid := moztrayray@foudil.fr
extension_uuid := moztray@foudil.fr
# The name of the profile dir where the extension can be installed.
profile_dir := mozilla-dev

View File

@ -16,7 +16,6 @@ moztray.Main = {
try {
// Set up preference change observer
moztray.Utils.prefService.QueryInterface(Ci.nsIPrefBranch2);
// must stay out of _toggle()
moztray.Utils.prefService.addObserver("", this, false);
}
catch (ex) {
@ -50,10 +49,10 @@ moztray.Main = {
moztray.Debug.dump('Pref changed: '+data);
switch(data) {
case 'enabled':
var enable = moztray.Utils.prefService.getBoolPref('enabled');
this._toggle(enable);
break;
// case 'enabled':
// var enable = moztray.Utils.prefService.getBoolPref('enabled');
// this._toggle(enable);
// break;
}
},

View File

@ -1,4 +1,4 @@
extensions.moztray@foudil.fr.description=This Firefox extension enables skipping the SSL/TLS certificate error page, for specific configurable conditions, like self-signed cert or unknown issuer, by adding a temporary exception.
extensions.moztray@foudil.fr.description=A system tray extension for linux.
exceptionAdded=A %1$S was added by Moztray for %2$S
exceptionNotAdded=An exception could not be added by Moztray: %1$S
temporaryException=temporary exception

View File

@ -1,5 +1,5 @@
// https://developer.mozilla.org/en/Localizing_extension_descriptions
pref("extensions.moztrayray@foudil.fr.description", "chrome://moztray/locale/overlay.properties");
pref("extensions.moztray@foudil.fr.description", "chrome://moztray/locale/overlay.properties");
// Extension prefs
pref("extensions.moztray.enabled", true);

View File

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>moztrayray@foudil.fr</em:id>
<em:id>moztray@foudil.fr</em:id>
<em:unpack>false</em:unpack>
<em:type>2</em:type>
<em:name>Mozilla Tray</em:name>
<em:version>0.0.1</em:version>
<em:creator>Foudil BRÉTEL</em:creator>
<em:contributor>Hua Luo, Francesco Solero (Firetray original authors)</em:contributor>
<em:homepageURL>https://github.com/foudfou/moztrayray</em:homepageURL>
<em:description></em:description>
<em:homepageURL>https://github.com/foudfou/moztray</em:homepageURL>
<em:description>A system tray extension for linux.</em:description>
<!-- <em:optionsURL>chrome://moztray/content/options.xul</em:optionsURL> -->
<em:iconURL>chrome://moztray/skin/icon32.png</em:iconURL>
<em:targetApplication>

View File

@ -21,10 +21,7 @@ if ("undefined" == typeof(moztray)) {
};
moztray.Debug = {
_initialized: false,
_consoleService: null,
initialized: false,
/**
* Object constructor.