aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-06-19 03:22:46 +0000
committerGuy Harris <guy@alum.mit.edu>1999-06-19 03:22:46 +0000
commit5d565b7fee579869eacd57a5fd1ca6b8c3e942ee (patch)
tree9a2bc9f101ce76d2ec575893fc71b7e78d0944e2 /file.c
parentbecbefffcb9b460cc572a62b6ecf0920a5c47408 (diff)
Update a comment.
svn path=/trunk/; revision=320
Diffstat (limited to 'file.c')
-rw-r--r--file.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/file.c b/file.c
index d0f4e8a039..021276e026 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* 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
* 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
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
- the title? Is it because it's not supposed to affect the title,
- or is it because we did a "gtk_clist_new_with_titles()" and
- that put the titles in *before* we changed the font? */
+
+ Unfortunately, it's not clear how to get that font - it'd be
+ the font used for buttons; there doesn't seem to be a way to get
+ that from a clist, or to get one of the buttons in that clist from
+ the clist in order to get its font. */
for (i = 0; i < cf->cinfo.num_cols; i++)
cf->cinfo.col_width[i] = gdk_string_width(pl_style->font,
cf->cinfo.col_title[i]);