Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk capture_dlg.c dlg_utils.c dlg_utils.h fi

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Mon, 29 Mar 2004 16:40:58 -0600 (CST)
guy         2004/03/29 16:40:58 CST

  Modified files:
    gtk                  capture_dlg.c dlg_utils.c dlg_utils.h 
                         file_dlg.c follow_dlg.c print_prefs.c 
  Log:
  Make "file_selection_new()" take as its second argument an
  Ethereal-defined indication of the action (open vs. save), regardless of
  whether we're building for GTK+ >= 2.4 or not; we just ignore the
  argument in pre-2.4 GTK+.
  
  Use "file_selection_new()" rather than #if'ed code to use it or
  "gtk_file_chooser_dialog_new()"  for GTK+ >= 2.4 and
  "gtk_file_selection_new()" or it for pre-2.4 GTK+.
  
  Add a "file_selection_set_current_folder()" routine that does the
  appropriate thing depending on whether we're GTK+ >= 2.4 or not, and use
  that rather than #if'ed code to use
  "gtk_file_chooser_set_current_folder()" or
  "gtk_file_selection_set_filename()".
  
  Revision  Changes    Path
  1.124     +3 -16     ethereal/gtk/capture_dlg.c
  1.23      +40 -9     ethereal/gtk/dlg_utils.c
  1.11      +9 -6      ethereal/gtk/dlg_utils.h
  1.101     +14 -70    ethereal/gtk/file_dlg.c
  1.55      +10 -23    ethereal/gtk/follow_dlg.c
  1.19      +4 -6      ethereal/gtk/print_prefs.c