Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal file.c menu.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2003 21:36:33 -0500 (CDT)
guy         2003/09/23 21:36:33 CDT

  Modified files:
    .                    file.c menu.h 
  Log:
  Pass a pointer to a "capture_file" structure to
  "set_menus_for_selected_packet()" and
  "set_menus_for_selected_tree_row()", and have them decide whether to
  enable or disable menu items based on whether that structure indicates
  that a packet or field is selected and, if one is, on its properties.
  
  Pass to the "selected packet enabled" routine for a menu item the
  "frame_data" and "edt" members of the "capture_file" structure, and pass
  to the "selected tree row enabled" routine the "field_info" member of
  that structure.
  
  Clear "cf->current_frame" if no packet is selected.
  
  Revision  Changes    Path
  1.317     +7 -6      ethereal/file.c
  1.11      +3 -3      ethereal/menu.h