ms-windows theme and button colors



Hello all,

since switching from gtk-2.8 to gtk-2.10 I cannot set the colors of 
Buttons via a resource file when using the ms-windos theme. With any other 
theme, I can change the button colors via the resource file. Does anyone 
know the reason for this changed behaviour?

I use the following definition in the resource file:

style "blue_button"
{
  bg [PRELIGHT]    = { 0.84, 1.00, 1.00 }
  bg [ACTIVE]      = { 0.84, 1.00, 1.00 }
  bg [NORMAL]      = { 0.48, 0.73, 0.82 }
  bg [INSENSITIVE] = { 0.68, 0.76, 0.82 }
}
widget "*Button*" style "blue_button"

thanks for any hints,
Bernhard


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