Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk capture_dlg.c file_dlg.c filter_prefs.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Jan 2003 23:20:20 -0600 (CST)
guy         2003/01/14 23:20:20 CST

  Modified files:
    gtk                  capture_dlg.c file_dlg.c filter_prefs.c 
                         filter_prefs.h find_dlg.c io_stat.c 
  Log:
  Add a new routine "filter_button_destroy_cb()", and make it the
  "destroy" signal handler for any button that pops up a filter; if the
  button has a filter dialog box associated with it, it destroys that
  dialog box.
  
  Have the routines that create filter dialog boxes asociate the dialog
  box with the button that created it, so that if the button is destroyed
  the filter dialog box can be destroyed as well, and associate the button
  with the dialog box.
  
  This means that if a dialog box has a button to create a filter, we no
  longer have to have the destroy handler for the dialog box destroy any
  filters - that'll happen when the button in the dialog box is destroyed
  as part of the process of destroying the dialog box.
  
  Don't make the "Filter" buttons in the io_stat dialog box insensitive if
  there's already a filter dialog box open - we can have more than one
  open per dialog box.
  
  Revision  Changes    Path
  1.77      +3 -12     ethereal/gtk/capture_dlg.c
  1.55      +3 -13     ethereal/gtk/file_dlg.c
  1.42      +47 -32    ethereal/gtk/filter_prefs.c
  1.14      +2 -3      ethereal/gtk/filter_prefs.h
  1.27      +3 -13     ethereal/gtk/find_dlg.c
  1.15      +2 -22     ethereal/gtk/io_stat.c