Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal column.c column.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, 10 Sep 1999 01:53:27 -0500 (CDT)
guy         1999/09/10 01:53:25 CDT

  Modified files:
    .                    column.c column.h 
  Log:
  We need to catch a "window delete" event for the preferences dialog box
  - that event happens if, say, you nuke the dialog box from a window
  manager - and call "delete" routines for each of the preferences tabs,
  so that, for preferences tabs that include list widgets, we can set a
  flag on the preferences tab widget telling the selection callback for
  the list widget that the buttons it would normally set the sensitivity
  of, based on whether any row in the list is selected or not, have Joined
  the Choir Invisible, and therefore that we shouldn't change their
  sensitivity because GTK+ will whine at us if we do, just as is the case
  if we press the "OK" or "Cancel" button (which also cause the window to
  go away).
  
  Can we just do this in the "window delete" handler?  I.e., does that get
  called if we explicitly destroy the widget?  Or should we catch a
  "destroy" event instead?
  
  (There must be a better way to do this....)
  
  Revision  Changes    Path
  1.22      +8 -2      ethereal/column.c
  1.5       +2 -1      ethereal/column.h