Seem to be a problem somewhere here:
Code: Select all
// startup
gm_notifier.prototype.onload = function() {
// this is false if we are in ff's customize window
if (document.getElementById("gm-notifier-statusbar")) {
// add the listener on startup and init the xpcom class
try {
gGMailNotifier.nsIGMNotifierService = Components.classes["@mozilla.org/GMailNotifier;1"]
.getService(Components.interfaces.nsIGMNotifierService);
gGMailNotifier.nsIGMNotifierProgressListener = new gGMailNotifier.NotifierProgressListener()
gGMailNotifier.listenerID = gGMailNotifier.nsIGMNotifierService.addListener(gGMailNotifier.nsIGMNotifierProgressListener);
gGMailNotifier.nsIGMNotifierProgressListener.id = gGMailNotifier.listenerID;
document.getElementById("gm-notifier-statusbar").collapsed = !gGMailNotifier.wm_prefs.getBoolPref(gGMailNotifier.wm_prefs.PREF_STATUSBAR_ENABLED);
// init multi-mode setup
gGMailNotifier.toggleMultiAccountMode();
} catch (e) {
alert(e);
}
window.removeEventListener("load", gGMailNotifier.onload, false);
gGMailNotifier.updateStatusBarPosition();
}
}
probably here
Code: Select all
gGMailNotifier.nsIGMNotifierService = Components.classes["@mozilla.org/GMailNotifier;1"]
.getService(Components.interfaces.nsIGMNotifierService);
because the only error message i get is with this line.