Problem with dynamically changing gtkrc's




Seeing tigert's really cool gtkrc setup, elliot lee starting playing with
a simple app to change the gtkrc file and send the XClientMessage to
all gtk apps to reload their gtkrc file.

This seems to work alright until you start setting background colors.
The background color request overrides the bg settings for things like
gmc'c desktop icons, making them completely solid colors :-/ Also,
parts of the toolbars on GnomeApps dont seem to get the bg color applied.
Here is the gtkrc that does it:

# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>

style "default"
{
#  font = "-schumacher-clean-medium-r-normal--8-80-75-75-c-50-iso8859-1"
  font = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"
  bg[NORMAL] = { 0.75, 0, 0 }
  bg[INSENSITIVE] = { 0.65, 0, 0 }
  bg[ACTIVE] = { 0.85, 0, 0 }
  bg[PRELIGHT] = { 0.95, 0, 0 }
}

widget_class "*" style "default"   


Anyone have an idea how to get around this problem?

Thanks
Dr Mike



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