Thanks Guy
Your idea worked
In the ethereal source I modified the gtk/main.c file
***
Add line
gtk_rc_parse( "gtk.rc");
before the line
create_main_window(pl_size, tv_size, bv_size, prefs);
*******
recompile the source .
example gtk.rc file is given at link
http://www.gtk.org/tutorial1.2/gtk_tut-21.html
Cut the relevant portion and save it as gtk.rc (This default file works but
you will have to appropriately modify it to bring the GUI changes, you like)
. Default file is attached with this message also.
Put this in ethereal source dir.
Now run ethereal .
Change gtk.rc to see different colors or colors you like.
Best Regards
Naveen
----- Original Message -----
From: "Guy Harris" <guy@xxxxxxxxxxxx>
To: "Naveen Kumar Kaushik" <naveenk@xxxxxxxxxxxxx>
Cc: <ethereal-dev@xxxxxxxxxxxx>
Sent: Wednesday, July 23, 2003 2:58 PM
Subject: Re: [Ethereal-dev] Changing colors of ethereal GUI
> On Wed, Jul 23, 2003 at 10:40:50AM +0530, Naveen Kumar Kaushik wrote:
> > The GUI colors seen on ethereal screen are blue grey and white. I
> > would like to know if these colors can be changed by changing some
> > file/files in gtk dir.
>
> It might be possible to do so by changing your .gtkrc file (creating one
> if it doesn't exist), if Ethereal doesn't forcibly set the colors. It
> might forcibly set some colors, but not all.
>
> I don't know what one would do to your .gtkrc to change it, and don't
> know whether there are any colors that it couldn't change. The only
> documentation I know of for them is in
>
> http://www.gtk.org/tutorial1.2/gtk_tut-21.html
>
> for GTK+ 1.2[.x] and
>
> http://www.gtk.org/tutorial/sec-gtksrcfileformat.html
>
> http://www.gtk.org/tutorial/sec-examplercfile.html
>
> for GTK+ 2.x.
>
>
Attachment:
gtk.rc
Description: Binary data