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: Fri, 7 Jul 2000 18:09:11 -0500 (CDT)
guy         2000/07/07 18:09:08 CDT

  Modified files:
    .                    file.c 
  Log:
  If the progress dialog gets a "delete" event, have the handler return
  TRUE, meaning "don't delete this", and if its "stop this operation"
  button gets clicked, don't have its handler delete the progress dialog;
  instead, leave the deletion of the window up to the code using the
  dialog, as it'll do so when it stops the operation.
  
  Make the "read file" operation destroy the dialog; all the other
  operations already did so (as they just broke out of the loop doing the
  operation, rather than returning).
  
  Don't catch the "destroy" operation on the dialog box - its handler
  appeared never to get called; we can just free the "progdlg_t" for the
  dialog in "destroy_progress_dlg()", right after destroying the dialog
  box widget.
  
  Revision  Changes    Path
  1.196     +5 -4      ethereal/file.c