Update a comment.

svn path=/trunk/; revision=320
This commit is contained in:
Guy Harris 1999-06-19 03:22:46 +00:00
parent becbefffcb
commit 5d565b7fee
1 changed files with 6 additions and 6 deletions

12
file.c
View File

@ -1,7 +1,7 @@
/* file.c /* file.c
* File I/O routines * File I/O routines
* *
* $Id: file.c,v 1.30 1999/06/19 03:14:29 guy Exp $ * $Id: file.c,v 1.31 1999/06/19 03:22:46 guy Exp $
* *
* Ethereal - Network traffic analyzer * Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org> * By Gerald Combs <gerald@zing.org>
@ -647,11 +647,11 @@ init_col_widths(capture_file *cf)
/* XXX - this should use the column *title* font, not the font for /* XXX - this should use the column *title* font, not the font for
the items in the list. the items in the list.
But how do you get that font? We set the font for the packet list
in "main()", but why does that affect only the list entries, not Unfortunately, it's not clear how to get that font - it'd be
the title? Is it because it's not supposed to affect the title, the font used for buttons; there doesn't seem to be a way to get
or is it because we did a "gtk_clist_new_with_titles()" and that from a clist, or to get one of the buttons in that clist from
that put the titles in *before* we changed the font? */ the clist in order to get its font. */
for (i = 0; i < cf->cinfo.num_cols; i++) for (i = 0; i < cf->cinfo.num_cols; i++)
cf->cinfo.col_width[i] = gdk_string_width(pl_style->font, cf->cinfo.col_width[i] = gdk_string_width(pl_style->font,
cf->cinfo.col_title[i]); cf->cinfo.col_title[i]);