[Pkg-mozext-commits] [gcontactsync] 60/88: Issue #36 - Preferences are only logged if the user opens the AB window

David Prévot taffit at moszumanska.debian.org
Thu Sep 18 20:52:30 UTC 2014


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

taffit pushed a commit to branch master
in repository gcontactsync.

commit 8e19a08a4dde56c81a5bfa1d7bccfe7e0c7b0a9d
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Sun Jun 22 17:41:49 2014 -0500

    Issue #36 - Preferences are only logged if the user opens the AB window
---
 src/content/MessengerOverlay.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/content/MessengerOverlay.js b/src/content/MessengerOverlay.js
index ec4b344..485db09 100644
--- a/src/content/MessengerOverlay.js
+++ b/src/content/MessengerOverlay.js
@@ -84,6 +84,11 @@ com.gContactSync.MessengerOverlay = {
         "\n * User Agent:       " + navigator.userAgent +
         "\n * Log location:     " + com.gContactSync.FileIO.mLogFile.path +
         "\n");
+
+    if (com.gContactSync.Preferences.mSyncPrefs.verboseLog.value) {
+      com.gContactSync.Preferences.getSyncPrefs();  // for logging
+    }
+
     var lastVersionMajor   = com.gContactSync.Preferences.mSyncPrefs.lastVersionMajor.value;
     var lastVersionMinor   = com.gContactSync.Preferences.mSyncPrefs.lastVersionMinor.value;
     var lastVersionRelease = com.gContactSync.Preferences.mSyncPrefs.lastVersionRelease.value;

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



More information about the Pkg-mozext-commits mailing list