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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 3 Jan 2000 16:53:40 -0600 (CST)
guy         2000/01/03 16:53:37 CST

  Modified files:
    .                    file.c 
  Log:
  Before adding a frame to the list of displayed frames, set its row
  number to 0, so that "select_packet()" will find it if a "select-row"
  signal is emitted when it's added.
  
  (The previous workaround for this problem worked when initially
  constructing the list of all frames, but not when reconstructing the
  list of displayed frames when filtering packets, as, in the latter case,
  there could be more than one frame in the list of all frames, so we
  couldn't just say "pick the one and only frame in the list".  The row
  number is set to the correct value after the frame is added to the list
  of displayed frames and we know the row number it was given.)
  
  Revision  Changes    Path
  1.147     +31 -28    ethereal/file.c