[Pkg-mozext-commits] [tabmixplus] 07/13: Use this instead of gPrefWindow inside it

David Prévot taffit at moszumanska.debian.org
Mon Oct 20 02:33:50 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 4b70aea50ac1063fe273b767cf1864bd8ec9d6a2
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Oct 16 10:18:22 2014 +0300

    Use this instead of gPrefWindow inside it
---
 chrome/content/minit/tablib.js            | 10 ++++++++++
 chrome/content/preferences/preferences.js |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index dd0147f..21c5698 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -1830,3 +1830,13 @@ Tabmix.getOpenTabNextPref = function TMP_getOpenTabNextPref(aRelatedToCurrent) {
 
   return false;
 }
+
+/*
+Thu Oct 16 2014 09:59:34
+Warning: TypeError: anonymous function does not always return a value
+Source file: chrome://tabmixplus/content/minit/tablib.js
+Line: 913, Column: 6
+Source code:
+      return this.duplicateTab(aTab, url);
+
+*/
diff --git a/chrome/content/preferences/preferences.js b/chrome/content/preferences/preferences.js
index 33b308c..38d0f65 100644
--- a/chrome/content/preferences/preferences.js
+++ b/chrome/content/preferences/preferences.js
@@ -136,7 +136,7 @@ var gPrefWindow = {
       preference.valueFromPreferences = preference.value;
       preference.batching = false;
     }
-    gPrefWindow.afterShortcutsChanged();
+    this.afterShortcutsChanged();
     Tabmix.prefs.clearUserPref("setDefault"); // this trigger TabmixTabbar.updateSettings
     Services.prefs.savePrefFile(null);
   },

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



More information about the Pkg-mozext-commits mailing list