~ubuntu-branches/ubuntu/raring/njplot/raring-proposed

« back to all changes in this revision

Viewing changes to unrooted-vib.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille, Andreas Tille, Charles Plessy
  • Date: 2008-01-15 09:39:01 UTC
  • mfrom: (1.2.5 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080115093901-p2roaj3qvqofm93m
Tags: 2.2-1
[ Andreas Tille ]
* Added Vcs-Browser, Vcs-Svn
* Added -DHELPFILENAME=\"/usr/share/njplot/njplot.help\" to
  build options

[ Charles Plessy ]
* New upstream version:
  - NJplot can display several tree windows simultaneously.
* debian/control:
  - added myseld as Uploader.
  - allowed the upload by Debian Maintainers.
  - Removed the [biology] tag and the Homepage pseudo-field from the
    description.
  - Checked conformance with Policy 3.7.3.
  - Dropped build dependency on dpatch
* MIME support:
  - debian/njplot.sharedmimeinfo declares that .phb and .ph files
    are Clustal W phylogenetic trees.
  - debian/njplot.mime, debian/njplot.desktop and
    debian/unrooted.desktop declare that NJplot and Unrooted can
    open Clustal W phylogenetic trees.
* Removed debian/README.Debian, as its contents were obsolete.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
#endif
195
195
#ifdef WIN_MAC
196
196
int crefpict(char *, PicHandle );
197
 
extern void add_apropos(char *);
 
197
extern void add_apropos(char *progname, Nlm_ActnProc my_show_apropos);
 
198
extern void show_apropos_unrooted(Nlm_IteM item);
198
199
extern char *mac_fname_to_roman(char *);
199
200
#else
200
201
void process_args(int *argc, char *argv[]);
359
360
  int width, height;
360
361
  
361
362
#ifdef WIN_MAC
362
 
add_apropos("unrooted");
 
363
add_apropos("unrooted", show_apropos_unrooted);
363
364
#endif
364
365
Nlm_KeyboardView(process_keys);
365
366
fdui->unrooted = win = Nlm_DocumentWindow(-50, -33, -3, -3, "Unrooted", 
373
374
#define OPEN_LABEL      "Open        O"
374
375
#define SAVE_PLOT_LABEL "Save Plot S"
375
376
#define PRINT_LABEL     "Print        P"
376
 
#define QUIT_LABEL      "Quit         Q"
377
377
#define FIND_LABEL      "Find     F"
378
378
#define AGAIN_LABEL     "Again  A"
379
379
#define RESET_LABEL     "Reset  R"
396
396
#ifdef MICRO
397
397
  Nlm_CommandItem(menu, PRINT_LABEL, print_plot);
398
398
#endif
 
399
#ifndef WIN_MAC
399
400
  Nlm_CommandItem(menu, QUIT_LABEL, exit_callback);
 
401
#endif
400
402
  Nlm_Advance(place_menu);
401
403
  menu = Nlm_PulldownMenu(place_menu, "Edit"); 
402
404
#if defined(WIN_MAC) || defined(WIN_MSWIN)
1003
1005
}
1004
1006
 
1005
1007
 
1006
 
void init_tree(char *titre)
 
1008
void create_win_if_needed(char *titre)
1007
1009
{
 
1010
strcpy(fname, titre);
1008
1011
debut_arbre();
1009
1012
set_tree_w_title(fd_unrooted->unrooted, titre, notu);
1010
1013
tree_draw_proc(fd_unrooted->tree_plot);