0db9775f8ef4f63fadacadbc5fd46573cb6481f0 max Sat May 5 17:38:00 2012 -0700 inversed order of stylesheet/background for themes, added more docs diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index 1b7366e..372c1b2 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -12,31 +12,30 @@ #include "hgTracks.h" #include "hgConfig.h" #include "jsHelper.h" #include "imageV2.h" #include "search.h" #include "hubConnect.h" #include "fileUi.h" static void themeDropDown(struct cart* cart) /* Create drop down for UI themes. * specfied in hg.conf like this * browser.theme.modern=background.png,HGStyle * */ { struct slName* themes = cfgNamesWithPrefix("browser.theme."); -//struct slName* themes = cfgNames(); if (themes==NULL) return; hPrintf("website style:"); hPrintf(""); // create labels for drop down box by removing prefix from hg.conf keys char *labels[50]; struct slName* el; int i = 0; el = themes; for (el = themes; el != NULL && i<50; el = el->next) { char* name = el->name; name = chopPrefix(name); // chop off first two words