Re: changing text colors in .gtkrc.mine



Alexander Sirotkin wrote:

Hey.

Well... I'm going slightly mad after trying to change colors for gnome-terminal for about 2 weeks or so.
This is unreal...

The following very simple .gtkrc.mine file

style "demiurg-test" = "bluecurve-default"
{
        bg[NORMAL] = "#000000"
        bg[ACTIVE] = "#000000"
        fg[NORMAL] = "#ffffff"
        text[NORMAL] = "#ffffff"
}

class "GtkWidget" style "demiurg-test"

well... I can't even say that it does not work, since it does work, but for some very selected applications, for instance "winetools", which I discovered accidentally since for most applications, like gnome-terminal it does not !!!

This is driving me crazy... I googled for hours and read every documentation I could find, but could not resolve this mystery...
Any help would be appriciated.

P.S. I'm using out of the box CentOS 4.2 distribution.

My understanding of this "mystery" is that style definition works in the most intuitive way: more specific widget selection for a style overrides less specific one. In other words, if you're setting a style for a concrete widget or widget class, this style overrides the style defined for all the widget types. Thus, your style definition for all the widget classes just gets overriden by more specific ones.

wbr, Dmitry.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]