~ubuntu-branches/ubuntu/edgy/ncbi-tools6/edgy

« back to all changes in this revision

Viewing changes to desktop/e2docsum.c

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-07-19 23:28:07 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060719232807-et3cdmcjgmnyleyx
Tags: 6.1.20060507-3ubuntu1
Re-merge with Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   10/30/01
31
31
*
32
 
* $Revision: 6.52 $
 
32
* $Revision: 6.54 $
33
33
*
34
34
* File Description: 
35
35
*
744
744
    icon = proteinicon;
745
745
  else if (StringICmp (dbName, "Nucleotide") == 0)
746
746
    icon = dnaicon;
 
747
  else if (StringICmp (dbName, "nuccore") == 0)
 
748
    icon = dnaicon;
747
749
  else if (StringICmp (dbName, "Structure") == 0)
748
750
    icon = threedicon;
749
751
  else if (StringICmp (dbName, "Genome") == 0)
1608
1610
  }
1609
1611
 
1610
1612
  if ((! do_fasta) && (! do_cds)) {
1611
 
    LookupFarSeqIDs (seqEntryPtr, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE);
 
1613
    LookupFarSeqIDs (seqEntryPtr, TRUE, TRUE, TRUE, TRUE, TRUE, FALSE, TRUE);
1612
1614
  }
1613
1615
 
1614
1616
  /*------------------------*/
1833
1835
      labels = prtRadios;
1834
1836
    else if (StringICmp (dbName, "Nucleotide") == 0)
1835
1837
      labels = nucRadios;
 
1838
    else if (StringICmp (dbName, "nuccore") == 0)
 
1839
      labels = nucRadios;
1836
1840
    else if (StringICmp (dbName, "Structure") == 0)
1837
1841
      labels = strucRadios;
1838
1842
    else if (StringICmp (dbName, "Genome") == 0)
2233
2237
            GetAppProperty ("MedlineDisplayForm");
2234
2238
          if (mvpp != NULL && mvpp->displayFont != NULL)
2235
2239
            font = mvpp->displayFont;
2236
 
        } else if ((StringICmp (dbName, "Protein") == 0) || (StringICmp (dbName, "Nucleotide") == 0)) {
 
2240
        } else if ((StringICmp (dbName, "Protein") == 0) ||
 
2241
                   (StringICmp (dbName, "Nucleotide") == 0) ||
 
2242
                   (StringICmp (dbName, "nuccore") == 0)) {
2237
2243
          svpp = (SeqViewProcsPtr) GetAppProperty ("SeqDisplayForm");
2238
2244
          if (svpp != NULL && svpp->displayFont != NULL)
2239
2245
            font = svpp->displayFont;
2246
2252
        retrieveProc = aaDocProcs [val - 1];
2247
2253
      else if (StringICmp (dbName, "Nucleotide") == 0)
2248
2254
        retrieveProc = ntDocProcs [val - 1];
 
2255
      else if (StringICmp (dbName, "nuccore") == 0)
 
2256
        retrieveProc = ntDocProcs [val - 1];
2249
2257
      else if (StringICmp (dbName, "Structure") == 0)
2250
2258
        retrieveProc = stDocProcs [val - 1];
2251
2259
      else if (StringICmp (dbName, "Genome") == 0)
3131
3139
      } else if (launchType == 4) {
3132
3140
        LaunchSequenceASN (uid);
3133
3141
      }
3134
 
    } else if (StringICmp (dbName, "Nucleotide") == 0) {
 
3142
    } else if (StringICmp (dbName, "Nucleotide") == 0 ||
 
3143
               StringICmp (dbName, "nuccore") == 0) {
3135
3144
      if (launchType == 1) {
3136
3145
        LaunchSequenceViewer (uid, numAlign, alignuids, dbName);
3137
3146
      } else if (launchType == 2) {
3777
3786
      labels = prtRadios;
3778
3787
    else if (StringICmp (dbName, "Nucleotide") == 0)
3779
3788
      labels = nucRadios;
 
3789
    else if (StringICmp (dbName, "nuccore") == 0)
 
3790
      labels = nucRadios;
3780
3791
    else if (StringICmp (dbName, "Structure") == 0)
3781
3792
      labels = strucRadios;
3782
3793
    else if (StringICmp (dbName, "Genome") == 0)
5000
5011
      labels = prtRadios;
5001
5012
    else if (StringICmp (e2db->db_name, "Nucleotide") == 0)
5002
5013
      labels = nucRadios;
 
5014
    else if (StringICmp (e2db->db_name, "nuccore") == 0)
 
5015
      labels = nucRadios;
5003
5016
    else if (StringICmp (e2db->db_name, "Structure") == 0)
5004
5017
      labels = strucRadios;
5005
5018
    else if (StringICmp (e2db->db_name, "Genome") == 0)
5058
5071
      labels = prtLaunch;
5059
5072
    else if (StringICmp (e2db->db_name, "Nucleotide") == 0)
5060
5073
      labels = nucLaunch;
 
5074
    else if (StringICmp (e2db->db_name, "nuccore") == 0)
 
5075
      labels = nucLaunch;
5061
5076
    else if (StringICmp (e2db->db_name, "Structure") == 0)
5062
5077
      labels = strucLaunch;
5063
5078
    else if (StringICmp (e2db->db_name, "Genome") == 0)