Re: [PHP-GTK] parsing rc-files

[email protected] ("Madeleine D.") Sat, 08 Nov 2008 14:07:46 -0800
Newsgroups php.gtk.general
Message-ID <[email protected]>
dysmas -

No problem.  Happy to help.  And it's kksou that really deserves the 
credit; we got it from him.

I not only lost hours trying to solve button colors on the rc file 
before I came across his solution, but I also ran into a similar problem 
on fonts. So finally, I removed the install gtkrc file altogether and we 
run with just our own settings.

I really think this issue should be in the install directions, so others 
don't get messed up.

Madeleine D.



dysmas wrote:
>
> 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 you find : engine "wimp" 
> Comment it : # engine "wimp" 
> Or delete it. 
>
> Now colours are working properly. 
>
> Thanks again Madeleine. 
>
> Dysmas
>