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

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 02:01:45 -0500 (CDT)
guy         2000/07/07 02:01:38 CDT

  Modified files:
    .                    file.c ui_util.h 
  Log:
  Use "progdlg_t *" rather than "void *" as the handle for a progress
  dialog box; that lets us do some type-checking, but we can still typedef
  it to an incompletely-defined structure to hide the implementation
  details from the caller.
  
  Make "create_progress_dlg()" take, as an argument, the title to put in
  the "stop the operation" button, and use "Stop" rather than "Cancel" if
  stopping the operation doesn't undo all the work it's done.
  
  Thaw the clist if we break out of a "read the file" operation, as we
  freeze it before the operation.
  
  Have the handler for the "delete" event on the progress dialog box
  return FALSE, to let GTK+ know that it should, in fact, delete the
  window.  ("delete" event handlers should return TRUE if the window
  shouldn't actually be deleted, FALSE if it should; they should not
  return "void".)
  
  Revision  Changes    Path
  1.195     +19 -18    ethereal/file.c
  1.6       +16 -9     ethereal/ui_util.h