Re: changing text colors in .gtkrc.mine

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

 



Thanks.

I thought about it too. In that case, the question is - how can I find the appropriate widget class for gnome-terminal, or any other application I would want to modify the theme for ?

Thanks a lot.

On 12/1/05, Dmitry Konyshev <moodmonger@xxxxx> wrote:
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.




--
Alexander Sirotkin
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux