Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk display_opts.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, 8 May 2000 00:12:24 -0500 (CDT)
guy         2000/05/08 00:12:22 CDT

  Modified files:
    gtk                  display_opts.c 
  Log:
  Keep a pointer to the current "Display Options" window, if any - if not,
  the pointer is NULL - so that, instead of doing nothing if the user
  selects "Display->Options" when there's already a "Display Options"
  dialog box open, we raise and de-iconify that window.
  
  Register a "destroy" callback for the "Display Options" window, so that
  no matter how it's destroyed, even if it's destroyed by a window manager
  close button rather than by clicking the "OK" or "Cancel" button, we
  note that fact by clearing the pointer to the current "Display Options"
  window, so that if the user then selects "Display->Options", we know
  that we need to pop a new "Display Options" window up.
  
  Revision  Changes    Path
  1.6       +24 -16    ethereal/gtk/display_opts.c