84161997c78fb7f23f9fdb62e8cafd850db6dc88 tdreszer Mon Nov 22 14:47:56 2010 -0800 Removed a lot of ifdefs whose time had come. Renamed one function for clarity. diff --git src/hg/hgTracks/mainMain.c src/hg/hgTracks/mainMain.c index 1033289..bfca6a2 100644 --- src/hg/hgTracks/mainMain.c +++ src/hg/hgTracks/mainMain.c @@ -28,36 +28,32 @@ * Because the browser is a central program, most of it's cart * variables are not hgt. qualified. It's a good idea if other * program's unique variables be qualified with a prefix though. */ char *excludeVars[] = { "submit", "Submit", "hgt.reset", "hgt.in1", "hgt.in2", "hgt.in3", "hgt.inBase", "hgt.out1", "hgt.out2", "hgt.out3", "hgt.left1", "hgt.left2", "hgt.left3", "hgt.right1", "hgt.right2", "hgt.right3", "hgt.dinkLL", "hgt.dinkLR", "hgt.dinkRL", "hgt.dinkRR", "hgt.tui", "hgt.hideAll", "hgt.visAllFromCt", "hgt.psOutput", "hideControls", "hgt.toggleRevCmplDisp", "hgt.chromName", "hgt.winStart", "hgt.winEnd", "hgt.newWinWidth", "hgt.insideX", "hgt.rulerClickHeight", "hgt.dragSelection", "hgt.revCmplDisp", "hgt.collapseGroups", "hgt.expandGroups", "hgt.suggest", "hgt.jump", "hgt.refresh", -#if defined(CONTEXT_MENU) || defined(TRACK_SEARCH) "hgt.trackImgOnly", "hgt.ideogramToo", "hgt.trackNameFilter", "hgt.imageV1", -#endif/// defined(CONTEXT_MENU) || defined(TRACK_SEARCH) -#ifdef TRACK_SEARCH TRACK_SEARCH, TRACK_SEARCH_ADD_ROW, TRACK_SEARCH_DEL_ROW, TRACK_SEARCH_PAGER, -#endif///def TRACK_SEARCH NULL }; int main(int argc, char *argv[]) { long enteredMainTime = clock1000(); uglyTime(NULL); browserName = (hIsPrivateHost() ? "Test Browser" : "Genome Browser"); organization = "UCSC"; /* change title if this is for GSID */ browserName = (hIsGsidServer() ? "Sequence View" : browserName); organization = (hIsGsidServer() ? "GSID" : organization); organization = (hIsGisaidServer() ? "GISAID" : organization); /* Push very early error handling - this is just