[Pkg-mozext-commits] [firetray] 07/399: cleaning

David Prévot taffit at alioth.debian.org
Tue Oct 29 18:23:04 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 ddf1763b9acc27a6746ac13eeb681586fecbdd9f
Author: foudfou <foudil.newbie+git at gmail.com>
Date:   Wed Jul 6 01:41:28 2011 +0200

    cleaning
---
 src/LICENSE                                |    5 -----
 src/Makefile                               |    2 +-
 src/chrome/content/overlay.js              |    9 ++++-----
 src/chrome/locale/en-US/overlay.properties |    2 +-
 src/defaults/preferences/prefs.js          |    2 +-
 src/install.rdf                            |    6 +++---
 src/modules/commons.js                     |    5 +----
 7 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/src/LICENSE b/src/LICENSE
index 7882fd8..c5730ce 100644
--- a/src/LICENSE
+++ b/src/LICENSE
@@ -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 at gmail.com, andras.tim at balabit.hu) and MitMMe (Johnathan Nightingale)
diff --git a/src/Makefile b/src/Makefile
index 1ef4006..899774c 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -22,7 +22,7 @@ help:
 	@echo "Have fun !"
 
 # The UUID of the extension.
-extension_uuid := moztrayray at foudil.fr
+extension_uuid := moztray at foudil.fr
 
 # The name of the profile dir where the extension can be installed.
 profile_dir := mozilla-dev
diff --git a/src/chrome/content/overlay.js b/src/chrome/content/overlay.js
index 59fd94b..826ec42 100644
--- a/src/chrome/content/overlay.js
+++ b/src/chrome/content/overlay.js
@@ -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;
     }
   },
 
diff --git a/src/chrome/locale/en-US/overlay.properties b/src/chrome/locale/en-US/overlay.properties
index 0012660..39b5d3c 100644
--- a/src/chrome/locale/en-US/overlay.properties
+++ b/src/chrome/locale/en-US/overlay.properties
@@ -1,4 +1,4 @@
-extensions.moztray at 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 at 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
diff --git a/src/defaults/preferences/prefs.js b/src/defaults/preferences/prefs.js
index 71b7ddd..ad89c64 100644
--- a/src/defaults/preferences/prefs.js
+++ b/src/defaults/preferences/prefs.js
@@ -1,5 +1,5 @@
 // https://developer.mozilla.org/en/Localizing_extension_descriptions
-pref("extensions.moztrayray at foudil.fr.description", "chrome://moztray/locale/overlay.properties");
+pref("extensions.moztray at foudil.fr.description", "chrome://moztray/locale/overlay.properties");
 
 // Extension prefs
 pref("extensions.moztray.enabled", true);
diff --git a/src/install.rdf b/src/install.rdf
index d5b02e1..7156b6f 100644
--- a/src/install.rdf
+++ b/src/install.rdf
@@ -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 at foudil.fr</em:id>
+    <em:id>moztray at 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>
diff --git a/src/modules/commons.js b/src/modules/commons.js
index fc5f08f..17b145f 100644
--- a/src/modules/commons.js
+++ b/src/modules/commons.js
@@ -21,10 +21,7 @@ if ("undefined" == typeof(moztray)) {
 };
 
 moztray.Debug = {
-
-  _initialized: false,
-
-  _consoleService: null,
+  initialized: false,
 
   /**
    * Object constructor.

-- 
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