Ethereal-dev: Re: [ethereal-dev] Byte view background colour

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Mon, 10 Jul 2000 22:40:01 -0700
On Mon, Jul 10, 2000 at 05:50:03PM +0100, Neil Hunter wrote:
> Just a quick question - how can I change the colour of the byte view area? On
> my system the frame list and tree views have a white background, whereas the
> byte view has a different background colour...

Have you (or whoever installed GTK+ on your system, or whoever made GTK+
part of the OS on your system, or...) configured it to do that?

GTK+ is controlled by "gtkrc" files; it supports both a global "gtkrc"
file (if GTK+ is installed under "/usr/local", it's in
"/usr/local/etc/gtk/gtkrc"; if it's installed as a "system" library,
it's in some "etc" directory somewhere, possibly in "/etc/gtk/gtkrc"),
and per-user "gtkrc" files in "~/.gtkrc".

Applications can also arrange to have application-specific "gtkrc"
files; Ethereal has one in "~/.ethereal/gtkrc".

Perhaps one of those files on your system sets the background color of
the GtkText widget (which is what's used for the byte view)?  All three
widgets have a white background when I run Ethereal.

I'm not sure whether there's a good *user's* document on those files;
the file format is described somewhat in the section on gtkrc files of
the GTK+ 1.2 developer's tutorial:

	http://www.gtk.org/tutorial/gtk_tut-21.html

although that doesn't necessarily tell one enough to configure an
application in the way one might want.