1688bbf8796864aafd28b8e1f857e60f2bae425e
fanhsu
  Thu Jun 23 12:50:25 2011 -0700
Added label selections for omimGene2 track.
diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c
index ec5f826..0d8557b 100644
--- src/hg/hgTrackUi/hgTrackUi.c
+++ src/hg/hgTrackUi/hgTrackUi.c
@@ -1525,33 +1525,43 @@
 void knownGeneUI(struct trackDb *tdb)
 /* Put up refGene-specific controls */
 {
 /* This is incompatible with adding Protein ID to lf->extra */
 knownGeneIdConfig(tdb);
 knownGeneShowWhatUi(tdb);
 baseColorDrawOptDropDown(cart, tdb);
 }
 
 void omimLocationUI(struct trackDb *tdb)
 /* Put up omimLcation-specific controls */
 {
 omimLocationConfig(tdb);
 }
 
+void omimGene2IdConfig(struct trackDb *tdb)
+/* Put up gene ID track controls */
+{
+printf("<B>Label:</B> ");
+labelMakeCheckBox(tdb, "omimId", "OMIM ID", FALSE);
+labelMakeCheckBox(tdb, "gene", "gene symbol", FALSE);
+
+printf("<BR>\n");
+}
 void omimGene2UI(struct trackDb *tdb)
 /* Put up omimGene2-specific controls */
 {
+omimGene2IdConfig(tdb);
 omimGene2Config(tdb);
 }
 
 void omimGeneUI(struct trackDb *tdb)
 /* Put up omimGene-specific controls */
 {
 omimGeneIdConfig(tdb);
 }
 
 void geneIdConfig(struct trackDb *tdb)
 /* Put up gene ID track controls */
 {
 char varName[64];
 char *geneLabel;
 safef(varName, sizeof(varName), "%s.label", tdb->track);