Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal colors.c colors.h

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, 29 Nov 1999 22:23:11 -0600 (CST)
guy         1999/11/29 22:23:09 CST

  Modified files:
    .                    colors.c colors.h 
  Log:
  Make a whole pile of routines private to "colors.c" static, and remove
  their declarations from "colors.h".  Do the same with some variables -
  and remove the ones that aren't used any more.
  
  Make some name changes suggested in the comments in "colors.c".
  
  Make "color_delete_cb()" take, as the user-supplied argument,
  "cf->colors", just as "color_new_cb()" does, and make it use its
  argument to find the color filter, just as "color_new_cb()" does, rather
  than using "cf.colors".
  
  When there are no colors in the list, make the "Edit" button
  insensitive; make it sensitive if there are any colors in the list, so
  that we don't crash if you press "Edit" when there are no colors in the
  list.
  
  Make "remember_selected_row()" take, as the user-supplied argument,
  "cf->colors", rather than "cf" - it needs only the color filter, not the
  entire "capture_file" structure.
  
  When using "gtk_clist_select_row()" to forcibly select a row, pass -1 as
  the column number, to indicate that we don't care which column is
  selected.
  
  Fix some typos in function names.
  
  Revision  Changes    Path
  1.16      +101 -78   ethereal/colors.c
  1.6       +1 -85     ethereal/colors.h