chrome/content/dkim.js
/*
	 * Initializes the header and statusbarpanel
	 * gets called after onStartHeaders
	 * gets called before onEndHeaders
	 */
Initializes the header and statusbarpanel
gets called after onStartHeaders
gets called before onEndHeaders
Initializes the header and statusbarpanel gets called after onStartHeaders gets called before onEndHeaders
function Display_onBeforeShowHeaderPane() {
		try {
			log.trace("onBeforeShowHeaderPane begin");
			that.initHeaderEntry();
			var reverifyDKIMSignature = document.
				getElementById("dkim_verifier.reverifyDKIMSignature");
			if (gFolderDisplay.selectedMessageIsFeed || gFolderDisplay.selectedMessageIsNews) {
				currentHeaderData[entry] = {
					headerName: entry,
					headerValue: dkimStrings.getString("NOT_EMAIL")
				};
				setValue(dkimStrings.getString("NOT_EMAIL"));
				statusbarPanel.dkimStatus = "none";
				if (reverifyDKIMSignature) {
					reverifyDKIMSignature["disabled"] = true;
				}
			} else {
				currentHeaderData[entry] = {
					headerName: entry,
					headerValue: dkimStrings.getString("loading")
				};
				setValue(dkimStrings.getString("loading"));
				statusbarPanel.dkimStatus = "loading";
				if (reverifyDKIMSignature) {
					reverifyDKIMSignature["disabled"] = false;
				}
			}
			log.trace("onBeforeShowHeaderPane end");
		} catch (e) {
			log.fatal(e);
		}
	}
function Display_onBeforeShowHeaderPane ( ) { try { log . trace ( "onBeforeShowHeaderPane begin" ) ; that . initHeaderEntry ( ) ; var reverifyDKIMSignature = document . getElementById ( "dkim_verifier.reverifyDKIMSignature" ) ; if ( gFolderDisplay . selectedMessageIsFeed || gFolderDisplay . selectedMessageIsNews ) { currentHeaderData [ entry ] = { headerName : entry , headerValue : dkimStrings . getString ( "NOT_EMAIL" ) } ; setValue ( dkimStrings . getString ( "NOT_EMAIL" ) ) ; statusbarPanel . dkimStatus = "none" ; if ( reverifyDKIMSignature ) { reverifyDKIMSignature [ "disabled" ] = true ; } } else { currentHeaderData [ entry ] = { headerName : entry , headerValue : dkimStrings . getString ( "loading" ) } ; setValue ( dkimStrings . getString ( "loading" ) ) ; statusbarPanel . dkimStatus = "loading" ; if ( reverifyDKIMSignature ) { reverifyDKIMSignature [ "disabled" ] = false ; } } log . trace ( "onBeforeShowHeaderPane end" ) ; } catch ( e ) { log . fatal ( e ) ; } }
Initializes the header and statusbarpanel
 gets called after onStartHeaders
 gets called before onEndHeaders
Initializes the header and statusbarpanel gets called after onStartHeaders gets called before onEndHeaders
// if msg is RSS feed or news