Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal ethereal.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, 14 Jun 1999 22:46:51 -0500 (CDT)
guy         1999/06/14 22:46:49 CDT

  Modified files:
    .                    ethereal.c 
  Log:
  Don't load the capture file in "main_realize_cb()", load it after the
  "gtk_widget_show()" of the main window; that way:
  
  	1) any alert box popped up because a capture file specified with
  	   the "-r" flag can't be read shows up after the main window
  	   shows up, and is more likely to end up on top of the main
  	   window, rather than behind it;
  
  	2) as the main window is up before we start reading a capture
  	   file specified with the "-r" flag, the progress bar can show
  	   our progress reading that file.
  
  If the "-k" flag was specified, make sure "-i" and "-w" were specified
  as well, rather than just dropping core trying to dereference NULL
  "cf.iface" or "cf.save_file" pointers.
  
  Revision  Changes    Path
  1.40      +36 -20    ethereal/ethereal.c