Java and human theme
'Forum Post
ulist at gs1.ubuntuforums.org
Sat Oct 29 09:28:53 UTC 2005
I don't know how to get rid of these two warnings but the color problem
seems to be unrelated to it. I have no experience with GTK theming but
it looks like the theme is wrong or Java does not correctly parse the
theme. I have corrected the problem in that way:
1. Open /usr/share/themes/Human/gtk-2.0/gtkrc in your favourite
editor.
2. In the clearlooks-default section find the line with the item
bg[PRELIGHT]. For me it is in line 36 and is set to the value #f5f3f0.
That's the gray color which java is displaying for selected menu
items.
3. Change the value to #ae7249 (which is the same color as in
bg[SELECTED]).
4. Save the file.
Now Java-Apps should have the standard brown background in selected
menu items and the menu item text is finally readable.
After a restart of Xorg I haven't noticed any change in normal
applications. So I have absolutely no idea who is doing the wrong thing
here. This bg[PRELIGHT] thingy is documented as the color used for mouse
over effects of buttons and menu items. But the menu items of normal
Gnome Applications seems not to use it. And after my change Buttons
don't suddenly use a brown color for mouse over effects. Well, maybe
someone with more experience in GTK theming can bring light to this
issue. For now my described fix may help you.
--
kayahr
More information about the ubuntu-users
mailing list