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

« back to all changes in this revision

Viewing changes to vibrant/vibforms.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:   1/22/95
31
31
*
32
 
* $Revision: 6.20 $
 
32
* $Revision: 6.22 $
33
33
*
34
34
* File Description: 
35
35
*
40
40
*
41
41
*
42
42
* $Log: vibforms.c,v $
 
43
* Revision 6.22  2006/02/01 17:57:57  kans
 
44
* for Mac, FindFormMenuItem first tries window-specific list, and if nothing set it then tries the desktop window menu
 
45
*
 
46
* Revision 6.21  2006/01/27 17:42:02  kans
 
47
* FindFormMenuItem handles menu inside Mac window in addition to desktop
 
48
*
43
49
* Revision 6.20  2005/07/11 14:11:50  bollin
44
50
* when saving text from a TexT control for the TagList dialog, do not trim off
45
51
* trailing space - if there is a callback for the text control this causes
1045
1051
  menuitemlist = NULL;
1046
1052
  menulistsize = 0;
1047
1053
#ifdef WIN_MAC
 
1054
  if (bfp != NULL) {
 
1055
    menuitemlist = bfp->menuitemlist;
 
1056
    menulistsize = bfp->menulistsize;
 
1057
    if (menuitemlist != NULL && mssg >= 0 && mssg < menulistsize) {
 
1058
      return menuitemlist [mssg];
 
1059
    }
 
1060
  }
 
1061
  /* if not in specific window, try desktop menu bar list */
1048
1062
  menuitemlist = globalMenuItemList;
1049
1063
  menulistsize = globalMenuListSize;
1050
1064
#else