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

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2003 19:45:13 -0500 (CDT)
guy         2003/10/15 19:45:13 CDT

  Modified files:
    gtk                  file_dlg.c main.c 
  Log:
  There doesn't seem to be any need to set "cfile.dfilter" to the contents
  of the filter text entry when reloading the file, and:
  
  	1) that doesn't work with the toolbar "reload" button (the
  	   widget passed in for that button doesn't have a
  	   E_DFILTER_TE_KEY data item pointing to the text entry);
  
  	2) that causes the Tools > Summary dialog box to report what
  	   you've typed in that box, not the filter that's actually in
  	   effect (i.e., it causes "cfile.dfilter" to reflect what's
  	   been typed, not what's been applied);
  
  so don't bother doing so.  That also means that the "/File/Reload" menu
  item doesn't need a E_DFILTER_TE_KEY data item, so don't give it one.
  
  Revision  Changes    Path
  1.64      +2 -7      ethereal/gtk/file_dlg.c
  1.324     +1 -2      ethereal/gtk/main.c