Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk gui_prefs.c prefs_dlg.c print_prefs.c

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: Sun, 23 May 2004 21:25:21 -0500 (CDT)
guy         2004/05/23 21:25:21 CDT

  Modified files:
    gtk                  gui_prefs.c prefs_dlg.c print_prefs.c 
  Log:
  Have two strings in an enum_val_t - one that's a short string that is
  convenient to put into a command line (no capital letters, no spaces to
  require quotes), and one that's a detailed description for use in the
  UI.  Allow either of them in the preferences file or "-o" option; use
  the detailed description in the UI, and also use it when writing the
  preferences out, so that the preference will be readable by older
  versions of Ethereal (assuming the preference existed in that version).
  
  Update "README.developer" to give more detail about an enum_val_t (and
  to put the _t in), and to give a more detailed description of the
  "radio_buttons" argument to "prefs_register_enum_preference()".
  
  Revision  Changes    Path
  1.70      +37 -37    ethereal/gtk/gui_prefs.c
  1.82      +15 -7     ethereal/gtk/prefs_dlg.c
  1.20      +8 -8      ethereal/gtk/print_prefs.c