« Return to Thread: parsing rc-files

Re: parsing rc-files

by dysmas :: Rate this Message:

Reply to Author | View in Thread

Madeleine D.-2 wrote:
dysmas -

We are using an rc file to set our button colors on 2.0.1 w/o any problem.

You might want to check the rc file that comes with the install
(.../etc/gtk-2.0).  In my experience this is the source of a lot of
grief.  Try removing the wimp engine call first and see if that helps.
Thousand thanks, Madeleine, this was the trick. I would never have been able to imagine that.
Now everything is working fine. I had spent hours to find what was wrong, and it was just this wimp engine.
If another user have the same trouble, the detailed solution is :
Open the file : php-gtk2\etc\gtk-2.0\gtkrc
on line 45-47 you find :

engine "wimp"
{
}

Comment the three lines :
# engine "wimp"
# {
# }

Or delete them.

Now colours are working properly.

Thanks again Madeleine.

Dysmas

 « Return to Thread: parsing rc-files