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: Tue, 11 Jul 2000 02:36:39 -0700
On Tue, Jul 11, 2000 at 09:28:09AM +0100, Neil Hunter wrote:
> Probably as part of the desktop theme - but I can't get the background colour
> of the bytes view to change :(

So you're running with a GTK+ widget theme selected?

If so, you might want to let the creator of the theme know about this
problem - giving GtkText a background color that doesn't contrast well
with its foreground color doesn't strike me as a feature.

If by "desktop theme" you're referring to a color theme rather than a
full-blown widget theme, you might also want to find out who specified
it, and, again, inform them that the choice of colors isn't exactly
wonderful.

> > 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".
> 
> Should the Ethereal one override any previous settings?

"gtk_rc_parse()" should read the application-specific "gtkrc" files
after the default ones, so if the settings in file N+1 override the
settings in file N, then "~/.ethereal/gtkrc" should override whatever's
in the system-wide "gtkrc" and in "~/.gtkrc".