Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk print_dlg.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:35:13 -0500 (CDT)
guy         2000/05/08 00:35:11 CDT

  Modified files:
    gtk                  print_dlg.c 
  Log:
  Keep a pointer to the current "Print" window, if any - if not, the
  pointer is NULL - so that, instead of doing nothing if the user selects
  "File->print" when there's already a "Print" dialog box open, we raise
  and de-iconify that window.
  
  Connect the print dialog box and any file selection dialog box it has
  open, so that:
  
  	if the print dialog box goes away, so does the filter dialog box
  	(as it no longer has a text widget into which it can stuff the
  	selected file name);
  
  	if the "File:" button is clicked when there's already a file
  	selection dialog box open, we just reactivate that existing
  	dialog box rather than popping up a new one.
  
  Revision  Changes    Path
  1.16      +80 -15    ethereal/gtk/print_dlg.c